Quote:
Originally Posted by Killswitch
I have a div with 3 more divs inside of it, those 3 divs use absolute positioning and left attributes to put them where I want them, I then do .clearFix:after { clear: both; } and set the class of that parent div to clearFix but it's still showing the bottom of the div right up against the bottom of the 3 divs instead of the 15px padding there is supposed to be...
|
Everything you're doing is useless.
You don't clear absolutes. And by "left attributes" I hope you don't mean you're floating them left because that's useless, too (on absolute elements).
If you have it like this:
<div>
<div ABSOLUTE1></div>
<div ABSOLUTE2></div>
<div ABSOLUTE3></div>
</div>
Then set a minimum height for the container DIV. Positioning an element as absolute takes it out of the regular flow of the design, and so it doesn't really take up any space as a normal box would.