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
 
Back
Top