Dropdown Width

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
greenfish
User
Posts: 107

Dropdown Width

Post by greenfish »

Greetings!
I have a drop down select box which is selecting a lookup field - each row has many characters. So when I try to click on it, the dropdown box gets really wide (off the screen to be exact). I would like to make the width smaller and have the characters do a word wrap instead. How shall I go about doing this? Many thanks in advance! :)


vincenthung
User
Posts: 88

Post by vincenthung »

You cannot control the width of the "Option" tag. You only can change the width of the "Select" box.


greenfish
User
Posts: 107

Post by greenfish »

hmmm......ok...how would I begin doing this? Thanks. :)


mobhar
User
Posts: 11752

Post by mobhar »

Go to "HTML" -> "Styles" -> "Edit styles", scroll to the bottom, and put the following code:

select {width: 100px;}

under this line:

/* your CSS styles here */


greenfish
User
Posts: 107

Post by greenfish »

thank you. :)


Post Reply