Jump to:

1383 Posts in 492 Topics by 521 members


SilverStripe Forums » Themes » content spilling over container

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1627 Views
  • ptholt
    Community Member
    2 Posts

    content spilling over container Link to this post

    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 ?


  • Nivanka
    Community Member
    395 Posts

    Re: content spilling over container Link to this post

    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

  • neogin
    Community Member
    13 Posts

    Re: content spilling over container Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.