We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon