You are here: Re: HTML <select> different width when expanded « HTML « IT news, forums, messages
Re: HTML <select> different width when expanded

Posted by Darin McGrew on 09/18/06 23:03

lambertb@gmail.com wrote:
>>> Hi, is this possible to achieve this, and how?
>>> http://img217.imageshack.us/img217/779/derrrvw2.png

lambertb@gmail.com wrote:
> 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.

It sounds to me like a SELECT element isn't the most appropriate choice.
Have you considered radio buttons or checkboxes, which would allow label
text that could wrap to multiple lines as necessary?
--
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/

"FAILURE IS NOT AN OPTION. It comes bundled with the software."

 

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

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