...

View Full Version : netscape trouble



ecnarongi
09-23-2002, 08:05 PM
<html>
<head>
<style type="text/css">
tr.pop { background-color: #004267 }
</style>
</head>
<body>
<table>
<tr class="pop">There has to be something wrong.</tr>
</table>
</body>
</html>

why doesn't this work in NS6

Roy Sinclair
09-23-2002, 08:42 PM
It doesn't work because the html isn't valid. You left out the <td></td> tags which are required for placing content in tables. The real problem is that IE "forgives" such omissions when it shouldn't.

ecnarongi
09-23-2002, 08:49 PM
DOH!

I am glad you guys are here to show me how retarded I really I am :D

thanks

Roy Sinclair
09-23-2002, 09:05 PM
If it didn't work in IE too, you'd know to check your html instead of being sent off on a wild goose chase. Simple mistakes will happen but IE is too forgiving.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum