my webpage is not displaying correctly in some of the browsers like firefox, chrome, opera and safari; yet it dispays fine in explorer, avant, maxathon. how could I fix this. the only problem is that the second background doesn't go under all of the text.
here is the 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>
<title>Home</title>
<link rel="menu" href="menu.css" type="text/css" />
<style type="text/css">
body
{
background-image:url('images/backg.jpg');
margin:0px;
padding:0px;
}
.wrapper
{
width:800px;
height:auto;
margin-left:auto;
margin-top:0px;
margin-right:auto;
margin-bottom:0px;
background-image:url('images/tile.jpg');
}
.menu
{
height:60px;
width:800px;
float:left;
}
ul
{
list-style-type:none;
width:500px;
}
li
{
float:left;
text-align:center;
}
a:link,a:visited
{
display:block;
width:120px;
font-weight:bold;
color:#ffffff;
background-color:#33ff33;
padding-top:10px;
padding-bottom:10px;
}
a:hover
{
background-color:#ff6633;
}
a:active
{
background-color:#ff0000;
}
[warning]
{
color:#990000;
}
[thanks]
{
float:right;
}
</style>
</head>
<body>
<div class="wrapper">
<img src="images/banner.jpg" alt="banner" width="800px" height="150px"/>
<div class="menu">
<center>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#plist">Player List</a></li>
<li><a href="#pics">Pictures</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</center>
</div>
<h1 warning="warning">Warning:</h1>
<h2 warning="Warning text">This will be the styx city website eventually (hopefully)</h2>
<p thanks="Signature">Thanks, 99rock99</p>
</div>
</body>
</html>
thanks for the help