Entry
When td declared text-align : center, NN will put the whole table to left only, what to do ?
When td declared text-align : center, NN will put the whole table to left only, what to do ?
Feb 26th, 2001 11:41
Ben Gordon, Mojzis Stupka,
This is a problem that I have not encountered but either one of these
should work in both browsers.
<html>
<head><title>Border & Margin Test</title>
<style>
td {text-align: center; font-size: 24px;}
</style>
</head>
<body>
<table summary="" border="3">
<tr>
<td>add text here if this were very long</td>
</tr><tr>
<td>and this short</td>
</table>
</body>
</html>
or
<html>
<head>
<title>Border & Margin Test</title>
</head>
<body>
<table summary="" border="3">
<tr>
<td style="text-align: center;">add text here if this were very
long</td>
</tr><tr>
<td>and this short</td>
</table>
</body>
</html>