Can I control the display width of a drop down.
Some of the options are quite wide so I'd like it to work logically. About 150 pixels closed but when open display to the width of the options.
Am I asking too much??
drop down list width
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 19
- Joined: Sun Aug 18, 2002 4:02 am
- Location: Germany
There's no such thing as a stupid question - but I try!!
- WiZARD
- Moderator
- Posts: 1240
- Joined: Thu Jun 20, 2002 10:14 pm
- Location: Ukraine, Crimea, Simferopol
- Contact:
ChrisSkidmore wrote:Can I control the display width of a drop down.
Some of the options are quite wide so I'd like it to work logically. About 150 pixels closed but when open display to the width of the options.
Am I asking too much??
Sorry but you cannot control dropdawn menu only size and font

"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";


-
- New php-forum User
- Posts: 19
- Joined: Sun Aug 18, 2002 4:02 am
- Location: Germany
I think I'd already come to that conclusion before posting but was still hopeful.
Many thanks anyway
Chris
Many thanks anyway
Chris
There's no such thing as a stupid question - but I try!!
- Joan Garnet
- Moderator
- Posts: 387
- Joined: Sat Aug 03, 2002 2:56 am
- Location: Mars
- Contact:
Actually you can do it, but using css:
Code: Select all
<select style="WIDTH: 300px;"> bla bla</select>
-
- New php-forum User
- Posts: 19
- Joined: Sun Aug 18, 2002 4:02 am
- Location: Germany
Hi thanks -
I tried that one while hacking at it -
I forget which failed but it wasn't cross browser!
I tried that one while hacking at it -
I forget which failed but it wasn't cross browser!
There's no such thing as a stupid question - but I try!!