Can an ASP Label Wrap

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

Hello,
I don't see a wrap property for the ASP version of Label. Is there anyway
this control can be set to not wrap?

Thanks
 
I don't think it as a nowrap propety. However, try setting the width to
like 100% or to what ever you need. If you are just printing a simple
message to display, try using the Literal Control.
 
Ok...thanks a bunch

Tampa.NET Koder said:
I don't think it as a nowrap propety. However, try setting the width to
like 100% or to what ever you need. If you are just printing a simple
message to display, try using the Literal Control.
 
Randy said:
Hello,
I don't see a wrap property for the ASP version of Label. Is there anyway
this control can be set to not wrap?

Thanks
Give the label a class and try ... white-space: nowrap; ... in you css file
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top