With this css it won't show my header layer
It works in IE but not FF
#container {
width: 1000px;
height: 500px;
overflow: hidden;
margin: 0;
}
#LeftBar {
background: url(images/LeftBarBack.gif) repeat-y;
width: 16px;
height: 500px;
float: left;
}
#TopBar {
background: url(images/TopBar.gif) repeat-x;
width: 968px;
height: 30px;
}
#Header {
width: 968px;
height: 110px;
}
but when i'm changing header id to this
it will show my image
#Header {
width: 968px;
height: 110px;
background: url(images/Header.gif) no-repeat;
}
html code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <link href="styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="LeftBar"><img src="images/LeftBar.gif" width="16" height="191" /></div> <div id="TopBar"> </div> <div id="Header"><img src="images/Header.gif" width="968" height="110" /></div> </div> </body> </html>
Edited by Nightscream, 21 August 2007 - 07:30 PM.
