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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1693 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;}