Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS HTML5 Wrapper

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30407
    GreatPotato
    Member

    I want to avoid using a “wrapper” just so my code is uber clean (yes I said uber).

    I’ve set my body to be the wrapper (giving it width of 960px and margin 0), but i have a full width background. Would it be good practise to style the HTML attribute to achieve this?

    #78659
    Rob MacKay
    Participant

    You can style the HTML tag fine. I would watch out when using your body as a wrapper in IE I think I Remember doing a site a while ago with the same idea, using the body, but in IE it went a little mental… it was a few years ago now, but I would double check when you do it :)

    #78660
    GreatPotato
    Member

    Thanks for the advice!

    Also, while on the same subject, is it ok to place the ‘footer’ outside of the ‘body’?

    I know you don’t need to define a body in HTML5 but little confused…

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.