PDA

View Full Version : I hate CSS part 8. Should work but doesn't



Morgenmuffel
10-05-2010, 04:58 PM
I know it is not the most descriptive title but its all i can think of

http://nigel.geek.nz/ihatecss8.php

Basically I need to have 3 columns of divs with multiple rows inside a box with a border and curved corners.

I am fairly sure it has something to do with positions and floats, and i have tried every logical and illogical combination i can think of, but cannot seem to get the content to stay inside the box

robbyp
10-05-2010, 05:01 PM
I know it is not the most descriptive title but its all i can think of

http://nigel.geek.nz/ihatecss8.php

Basically I need to have 3 columns of divs with multiple rows inside a box with a border and curved corners.

I am fairly sure it has something to do with positions and floats, and i have tried every logical and illogical combination i can think of, but cannot seem to get the content to stay inside the box


You need to clear the float to prevent that. Many different ways to do it, but google it.

Morgenmuffel
10-05-2010, 05:18 PM
Thats just not fair!!

I spent ages clearing floats and rearranging things and you solve it that quickly, for some reason it never occurred to me put the clear at the end of the float, which is the most obvious place. jeez i feel daft.

I am blaming old age

anyway thanks robbyp