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

Home Forums CSS Wrapper Background

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #44536

    Hey, I’m working on a css website and the wrapper doesn’t show me the background-image or color. It’s all blank. I’ve used the same code before and it somehow works..

    I want a wallpaper to cover the full width and height.. no scrolling required.

    Here’s the Pen:


    you need to give the body and html a height of 100%. Their default heights are auto, so the #wrapper’s 100% height is 100% of the body which is only long enough to contain the children – in this case, nothing.

    you haven’t correctly closed the first link element.
    you’ve used css comments in the html – and they don’t belong inside a tag.
    don’t use old style attributes (on the body tag) – use css


    Hey, thanks, this works only if I use a http link for the image.. I somehow can’t get it to work with the images stored on my comp. Any help with that?


    Okay, thanks, it’s done.

    Thank you! :)

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