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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Fixed width across browsers

Thread ID:





43161 Apr 17,2006 03:38 PM UTC Jun 15,2006 04:33 AM UTC ASP.NET Web Forms (Classic) 1
Tags: FAQ
Asked On April 17, 2006 03:38 PM UTC

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!!

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon