- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi all,
I don’t understand this. The foreground on the main page (where the content under the navigation) is emitting a white background over the background I have…yet I don’t have any background going. So it’s cutting the border background off.
Here’s the link to the background:
[Link…](http://www.robertallenbaker.com/dzindna/wp-content/themes/dzindna/images/background-topcontent.png “Link”)
Here’s the web site I’m working on. I don’t understand why it’s doing this.
[Link…](http://www.robertallenbaker.com/dzindna/ “Link”)
add overflow: hidden; to #subcontainer – you haven’t contained the floating children.
Alternatively, you could add clear: both to #footer, or use the .clearfix method on #subcontainer, or a few other methods…
Thank you so very much! That clear:both worked great!
Wierd how backgrounds don’t always fill in CSS without some overflow code or whatnot.
Ah okay, I need to learn more about overflow.
Thank you again!
Not that weird when you understand how floats and absolute positioning work.