Is the original Netscape browser better when using CSS than Mozilla? I keep having problems getting my styles to show up in Mozilla, but IE is taking them fine. What have I done wrong!?
Here’s the newest problem. I’m using styles to color the <body> and <td> backgrounds and Mozilla won’t take it. Any suggestions would be much appriciated. Here’s the code:
CSS:
BODY {
font-family:verdana, arial, helvetica, sans-serif;
font-size:12px;
font-weight:normal;
color:#000000;
background-color:999999;
margin:0px;
padding:0px;
}
TD, P {
font-family:verdana, arial, helvetica, sans-serif;
font-size:12px;
font-weight:normal;
color:#000000;
background-color:CCCCCC;
margin:0px;
padding:0px;
}
TABLE {
font-family:verdana, arial, helvetica, sans-serif;
font-size:12px;
font-weight:normal;
color:#000000;
background-color:transparent;
margin:0px;
padding:0px;
}
.bodyTop {
background-image:url(grad_bodyTop.jpg);
background-repeat : repeat-x;
}
HTML:
<?xml version=”1.0″ encoding=”windows-1252″?>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “
<html xmlns=”
<head>
<title>Untitled</title>
<meta http-epuiv=”content-type” content=”text/html; charset=windows-1252″ />
<meta name=”keywords” content=””>
<meta name=”description” content=””>
<meta name=”intsearch” content=””>
<link rel=”stylesheet” type=”text/css” href=”styles.css” />
</head>
<body>
<div align=”center”>
<table height=”600″ width=”770″ border=”0″ cellspacing=”4″ cellpadding=”4″ align=”center”>
<tr>
<td width=”20%” rowspan=”2″ align=”left”>
</td>
<td width=”80%” height=”15%” align=”left”>
</td>
</tr>
<tr>
<td width=”80%” valign=”top” class=”bodyTop” align=”left”>
<img src=”#” alt=”foo” width=”100″ height=”400″ border=”0″ />
</td>
</tr>
</table>
</body>
</html>