I use CSS to assign a width of 520 pixels to a cell
inside of a table that is 530 pixels wide.
IE5.5 shows it correctly; FF1.4 ignores "width:520px;".
(NS6.2 does't handle it correctly either.)
There's no difference if I the <td> has
width="520"
Thanks in advance.
<html>
<head>
<title>width520.htm</title>
<style type="text/css">
.pink {
font-family:Arial,Helvetica;
font-size:10pt;
font-weight:bold;
background-color:#FBE9F4;
width:520px;
height:20px;
border:solid
1px black }
</style>
</head>
<body>
<table bgcolor="#FFFFFF" border="0"
cellspacing="0" cellpadding="6" width="530"
style="border:solid 2px black">
<tr>
<td colspan="3" height="40" valign="middle">
<span class="pink">
¤ Information . . .
</span>
</td>
</tr>
</table>
</body>
</html>
Is "width" only supported by IE?
[snip]
> Try setting
> display:block;
> for your pink class. (Seems to cure most problems for me!)
Thank you!
Additionally, please do not use font units that cannot be resized by the
user; ie px, pt, in, cm. Use percentages.
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share