Treehouse: Grow your CSS skills. Land your dream job.

Page-wrap div help

  • # March 30, 2011 at 5:58 pm

    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

    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

    # March 30, 2011 at 6:26 pm

    Seems to look fine to me – what’s the actual problem that you’re having?

    # March 31, 2011 at 2:39 am

    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.

    # March 31, 2011 at 3:29 am

    “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.

    # March 31, 2011 at 8:34 am

    Ah ha. Thanks. I will try and sort it after work.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.