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:

Themes /

Discuss SilverStripe Themes.

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

content spilling over container

Go to End

3 Posts   2204 Views


Community Member, 2 Posts

27 June 2009 at 2:16am

I have been experimenting with silverstripe, and on a couple of occasions i have come up with a problem whereby the div container is to small for the text i want to display on the page.

Some of the themes i have played with just increase in size to cope with however much content is entered, however several of them the content spills out through the container div and i cant see to change the container height successfully, can someone shed some light for where to start ?



Community Member, 400 Posts

27 June 2009 at 9:45pm

this can happen because of using CSS floats,

You can try adding <div style='clear:both;'></div> inside your content DIV but after the $Content

Give a try


Community Member, 13 Posts

27 July 2009 at 4:49am

I've got the same issue : text goes further than the size of the div container, but only for the first line of the paragraph and only for 30px or so. I've tried your solution but it didn't work. Any ideas ?

Thanks to all.