You are here: Re: select tag « HTML « IT news, forums, messages
Re: select tag

Posted by Jonathan N. Little on 07/06/06 12:48

shikha810@gmail.com wrote:
> what i wanted was the width attribute of select tag. using this one can
> fix the horizontal display size of a list box.
>

Two things. One, you did not quote, tsk-tsk. Two, you missed everyone's
point, a SELECT element with *no* OPTIONS is invalid and makes no sense.
If that situation occurs you should not create the SELECT but instead
some indication that no options exist...

SELECT element are supposed to adjust their widths to accommodate the
length of the OPTION within. You can constrain with the 'width' property
in CSS, but what you will you do with the overflow?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация