Aurora.Light
03-31-2011, 01:52 AM
hey guys. simple question
i have a header "strip" image that doesn't show up. without all the nesting in DIVs, the image renders correctly, however it doesn't with.
home.html
<html>
<head>
<link rel="stylesheet" type="text/css" href="style/header.css"/>
</head>
<body>
<!-- Header -->
<div id="header">
<!-- Strip Section -->
<div id="strip_section">
<div id="logo">
</div>
</div>
</div>
</body>
</html>
--------
header.css
#logo
{
width: 403px;
height: 138px;
background-image: url('images/header_logo.png');
}
the images and files are nested correctly, so I don't understand what's the problem.
POSSIBLY is my css wrong?
i have a header "strip" image that doesn't show up. without all the nesting in DIVs, the image renders correctly, however it doesn't with.
home.html
<html>
<head>
<link rel="stylesheet" type="text/css" href="style/header.css"/>
</head>
<body>
<!-- Header -->
<div id="header">
<!-- Strip Section -->
<div id="strip_section">
<div id="logo">
</div>
</div>
</div>
</body>
</html>
--------
header.css
#logo
{
width: 403px;
height: 138px;
background-image: url('images/header_logo.png');
}
the images and files are nested correctly, so I don't understand what's the problem.
POSSIBLY is my css wrong?