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