Topic: Small CSS problem |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 04-09-2009 01:07
Ok, so I've painstakingly pieced this design together, but for some reason I have a div at the bottom above my footer called #fivebox which encloses 5 small content boxes. Everthing works fine but the background stops displaying behind it. |
Nervous Wreck (II) Inmate From: United States |
posted 04-09-2009 18:09 |
Paranoid (IV) Inmate From: Florida |
posted 04-09-2009 20:44
code: #fivebox { margin: 0 !important; padding: 0 0 0 60px; overflow: auto; display: block !important; display: inline-block; }
|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 04-10-2009 07:15
So I understand this correctly, I use the <div class="clear"></div> to remove the left float so the bg continues? I just wnat to make sure I grasp it so I can stop bugging you guys. :-) |
Obsessive-Compulsive (I) Inmate From: |
posted 04-10-2009 17:51
Floated items normally don't affect the vertical flow of the document, so the height of the container is basically set as if the floats didn't exist. |
Paranoid (IV) Inmate From: Florida |
posted 04-12-2009 08:30
... :/ |
Obsessive-Compulsive (I) Inmate From: |
posted 04-12-2009 09:53
Hi reisio, :P |
Paranoid (IV) Inmate From: Florida |
posted 04-12-2009 21:54
The renderer has to know the height of an element to know where to place a scrollbar should it need one, which forces containment. |