View Full Version : 2 side bars and one mind box problem need help

Nov 10th, 2009, 05:04 PM
i coded out an simple right and left box with an middle box for the content

but when you add lots of text to it it runs in to the side bars how do i stop this from happing do i need to add some padding some were

here is an link to what i mean


thank you again for your help

Nov 10th, 2009, 05:12 PM
You'd need to enclose the text inside a div, like

<div id="content">Consectetuer adipiscing elit. Nam pede erat, porta eu, lobortis eget, tempus et, tellus. Etiam neque. Vivamus consequat lorem at nisl. Nullam non wisi a sem semper eleifend. Donec mattis libero eget urna. Duis pretium velit ac mauris. Proin eu wisi suscipit nulla suscipit interdum. Aenean lectus lorem, imperdiet at, ultrices eget, ornare et, wisi. Consectetuer adipiscing elit. Nam pede erat, porta eu, lobortis eget, tem...</div> and hen set a suitable margin on either sides, like

Have a look at better 3 column fixed layout at http://bonrouge.com/3c-hf-fixed.php

Nov 10th, 2009, 05:16 PM
This is normal since your sidebars are floating in the design and have auto height. You have to specify a heigth for the sidebars. and if you need full variable height, then we are in the same boat you and I :P look my post "100% height float problem"