imperial
08-18-2006, 11:40 PM
Hi,
my background image (100x100) wont work both on IE and FF, i dont know why :(
HTML
<!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="css/comersus.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="bgimage" ><div id="mainwrapper">main content</div></div>
</body>
</html>
CSS
div#bgimage {background:url(images/background.gif) repeat-y; width:100%; height:50px; border: 1px solid #666666; margin:5px;}
div#mainwrapper { border: 1px solid #666666; margin:auto; margin-top:15px; width:776px;}
my background image (100x100) wont work both on IE and FF, i dont know why :(
HTML
<!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="css/comersus.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="bgimage" ><div id="mainwrapper">main content</div></div>
</body>
</html>
CSS
div#bgimage {background:url(images/background.gif) repeat-y; width:100%; height:50px; border: 1px solid #666666; margin:5px;}
div#mainwrapper { border: 1px solid #666666; margin:auto; margin-top:15px; width:776px;}