Reply to Re: Limiting width of <select> box

Your name:

Reply:


Posted by Adrienne Boswell on 12/23/06 01:34

Gazing into my crystal ball I observed "Manny Klystron"
<manny.klystron@gmail.com> writing in
news:1166629846.421499.306650@a3g2000cwd.googlegroups.com:

> How do I peg the width of the box generated by a <select> tag,
> clipping
>
><options> that're too long for it? It's turning out to be difficult to
>
> google for.
>
> This is IE6, IE7, Safari. IE7 is ignoring the "clip: rect{}" style.
> Options are generated in code, so I could do a measure there and clip
> by hand, but I wouldn't think I'd need to.
>
>
> Thanks!
>
>

There isn't much you can do for this. You can try setting the width in
CSS, but that doesn't always work. If the list is generated server
side, that's your best bet. Actually, this is something I very rarely
worry about, if it's wide, it's wide, that's just the way the cookie
crumbles. You might be able to move some other form elements around to
accomodate it.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

[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

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