Reply to Re: HTML <select> different width when expanded

Your name:

Reply:


Posted by lambertb on 09/18/06 22:36

Hi,

I'd need this because the image I provided is just for sample. My
select contains fairly large strings, and I don't have enough space on
my page to set the width of my select wide enough to see all text. So I
was wondering if even the select element is somewhat small, it was
possible to at least expand the box to a width so we see all text in
the box that shows all elements when we click on the select.

Jonathan N. Little wrote:
> lambertb@gmail.com wrote:
> > Hi, is this possible to achieve this, and how?
> > http://img217.imageshack.us/img217/779/derrrvw2.png
>
> WHY?
>
> Well your could...
>
> SELECT { width: 10em; }
> SELECT OPTION { width: 20em; }
>
> But don't expect it to work in IE!
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com

[Back to original 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

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