CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Page-wrap div help
hal8
Permalink to comment
#
March 2011
Hey all
I haven't done a site for a while or even been on the forum for a while but i need a bit of help. I am doing a site for a mates company.
I want everything to go in side my page wrap div, but it doesn't fit all the divs in side,
the domain is
www.footballsmylife.com
If anyone can help me so the page wrap div fills the whole screen with the containing divs in side then that would be great..
thenks in advance
TheDoc
Permalink to comment
#
March 2011
Seems to look fine to me - what's the actual problem that you're having?
hal8
Permalink to comment
#
March 2011
Yeah sorry didn't really explain that too well. I want the page wrap to wrap everything in the page, to be a container. But when I look at the site in firebug it doesnt seem to do it.
DogsGhost
Permalink to comment
#
March 2011
"you float it - you clear it" add clear:both to #footer in your CSS and your problem is solved. Check
all about floats
for a refresher.
hal8
Permalink to comment
#
March 2011
Ah ha. Thanks. I will try and sort it after work.
Add a Comment
I haven't done a site for a while or even been on the forum for a while but i need a bit of help. I am doing a site for a mates company.
I want everything to go in side my page wrap div, but it doesn't fit all the divs in side,
the domain is
www.footballsmylife.com
If anyone can help me so the page wrap div fills the whole screen with the containing divs in side then that would be great..
thenks in advance