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

Help pls


Go to End


3 Posts   1945 Views

Avatar
OnebyOne

Community Member, 54 Posts

5 November 2008 at 6:26am

Edited: 05/11/2008 6:26am

does anyone knows what to insert in calendar css (userformbuilder) to preserve an width of 150px,

mine is going away on right, see img attached

Avatar
OnebyOne

Community Member, 54 Posts

5 November 2008 at 6:27am

the image

Avatar
codepotato

Community Member, 14 Posts

5 November 2008 at 10:56am

Hi there,

The CSS for setting a width is width: 150px;

So, if your calendar div was #calendar, you'll need to the the following:

#calendar{
width:150px!important;
}

If that already appears, then maybe adding the !important before the semicolon might help, or alternatively setting the max-width element in the CSS.

Hope that helps.

Gareth