Text area's width in NS

From: Date: Tue, 04 Sep 2001 11:39:03 +0000
Subject: Text area's width in NS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65875@lists.php.net to get a copy of this message
This helped me out (at least made my site look nicer :), but is there a way set text area's width like this? Doesn't seem to work with same code. IE however works great. Why the hell there can not be just ONE standard?!? Niklas -----Original Message----- From: * R&zE: [mailto:renze@datalink.nl] Sent: 3. syyskuuta 2001 10:42 To: Balaji Ankem Cc: php-general@lists.php.net Subject: Re: [PHP] hi <Reply> Hey there, This is the solution for setting the width of your select-box (which I think you want to do): <SELECT width="200" style="width: 200px;"> ---options here--- </SELECT> The width-attribute sets the width in NS, while the style-attribute sets the width in IE. Don't you just love this kind of compatibility?!?! Anyway... using both attributes makes sure the select-box is shown with the same width in both browsers. </Reply> -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- «««««««««««««««««««««««« -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#65875) next »