[thelist] Can't get CSS to work

Chris Evans chris at fuseware.com
Thu Apr 12 20:53:10 CDT 2001


I have this code:

<html>
<head>
	<style>
	<!--
	.footer {
		text-align: center;
	}
	//-->
	</style>
</head>

<body>
<table width="300" border="1" align="center">
<tr>
<td class="footer">This text should be centered</td>
</tr>
</table>
</body>
</html>

In Netscape 4.7, the text is centered, but the table is left justified.
Obviously something buggy in NS4.7.  What is the best way to work around
this, without resorting to using <center> tags in the text?

PS - Expect a lot more of these questions coming down the pipe as I flail
around helplessly in the CSS morass, trying to learn to tread water.

Chris Evans
chris at fuseware.com
http://www.fuseware.com








More information about the thelist mailing list