...

View Full Version : Does something like this should work?



joliett89
11-16-2012, 07:27 PM
<div id="header"></div>

and in css file

#header { background-image: url(../img/custom/header.jpg); }

I am stuck for about 2 hours and can't get an image to display on a simple website.

Thank you.

Excavator
11-16-2012, 07:32 PM
Hello joliett89,
Give that header a size, a background image will not show without something expanding the element.

Try something like this in your CSS
#header {
width: 600px;
height: 100px;
background-image: url(../img/custom/header.jpg);
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum