PDA

View Full Version : making drop down menu wider


kevy
07-13-2008, 06:22 PM
Hi,

I made some drop down menus and want to make them wider.. simply inserting width="100" doesn't work.. any idea how I can make this menu longer in width? Thanks.


<select wdg:subtype="DependentDropdown" name="select1" id="select1" wdg:type="widget" wdg:recordset="Recordset4" wdg:displayfield="SubName" wdg:valuefield="SubId" wdg:fkey="CatId" wdg:triggerobject="select">
</select>

student101
07-13-2008, 08:57 PM
CSS will do it, normally does.

select {
width: 100px; /* Set your own width here */
}Cheers

kevy
07-14-2008, 01:07 AM
CSS will do it, normally does.

select {
width: 100px; /* Set your own width here */
}Cheers

style="width: 100px" did the trick.. thank you!