- This topic is empty.
- The forum ‘CSS’ is closed to new topics and replies.
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:
Quick hack of your Codepen: http://codepen.io/Paulie-D/pen/HJLwA
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! :)