You have the image as a background on .banner
. But it has no width or height. Try:
#banner {
width: 100%;
height: 100%;
background: url(images/banner.png);
}
Use this one if .banner
parent has a height, If not -
#banner {
width: 100%;
height: 80px;
background: url(images/banner.png);
}
We can use this, setting the width and height for .banner
.
Background images do not set width and height so without them the div
is not shown.
You also haven't given .header
any height and width. So for my width: 100%;
& height: 100%;
to work you would need to set that. Or just set .banner
width and height in px
Also for the header-wrapper you haven't put px
(maybe a typo).
#header-wrapper {
overflow: hidden;
width: 650px;
background: #659EC7 url(images/overlay.png) repeat;
}
Setting width and height on .banner
.
Setting width and height on .banner
,.header
and the wrap.