Label without <span>

Discussion in 'ASP .Net' started by Andrei Pociu, Oct 27, 2004.

  1. Andrei Pociu

    Andrei Pociu Guest

    Is there some way to make the label not add a <span> tag?
    For example I don't need any styles applied or position set so I could as
    well get rid of <span>.
    Or is there some other type of control that I could use instead of label
    that doesn't add a tag like span or div?

    Thank you.
     
    Andrei Pociu, Oct 27, 2004
    #1
    1. Advertisements

  2. Andrei Pociu

    Karl Seguin Guest

    WebControls.Literal

    Karl
     
    Karl Seguin, Oct 27, 2004
    #2
    1. Advertisements

  3. Andrei Pociu

    Andrei Pociu Guest

    Thanks Karl!

    I knew about the literal control but I had the false impression that it uses
    span too.
    It's exactly what I wanted, thanks again.
     
    Andrei Pociu, Oct 27, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.