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.

Themes /

Discuss SilverStripe Themes.

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

content spilling over container


Reply


3 Posts   1681 Views

Avatar
ptholt

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 ?

thanks

Avatar
Nivanka

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

Avatar
neogin

Community Member, 13 Posts

27 July 2009 at 4:49am

Hi,
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.