Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

set the size of a dropDownField


Go to End


2 Posts   1454 Views

Avatar
carlossg

Community Member, 13 Posts

6 August 2008 at 12:23am

Hi All,

Can I set the size (width) of a dropDownField?
Can't find any method in the api.

Thanks a lot.

Avatar
Willr

Forum Moderator, 5523 Posts

6 August 2008 at 12:56pm

you can set styling for the cms in typography.css just like normal CSS - try #right form .dropdown select { width: yournewwith;}