Fixed width across browsers

What is the best way to fix a Label width size so that its the same across all browsers (IE,firefox,MAC)? I have tried Width: 20px or em in my CSS and that doesn''t seem to work. Also tried to do Label.width = Unit.Pixel(20) and Label.style.add("width") = Unit.Pixel(20) and these doesn''t work either. Any help in this would be greatly appreciated!!

1 Reply

AD Administrator Syncfusion Team June 15, 2006 04:33 AM UTC

Hi, you can set the width of label as follows, Label1.Width=200; If you use style sheet means, Label and also give in header tag . Thanx

Loader.
Up arrow icon