[web] Table Cell Widths in IE Not Adjusting

Started by
1 comment, last by Sander 18 years, 7 months ago
I have a table with 9 columns, and I set the 4 columns on the left and the 4 columns on the right explicitly. That leaves just the center column without a specific width, which I set: width:* It displays how I want in FireFox, but IE just adjusts the 4th 5th and 6th columns to something completely different. Is there a way to get around this?
Advertisement
Hmm, show me the code and I will solve it for you.
I noticed errors like this in IE as well...

The thing is in IE you cant space, enter, or TAB the tr's or the code puts in a space in itself
If you set those widths in CSS (which it look slike you're doing) then you should not use width: * but width: auto. Alternatively, if you set them with HTML attributes, then you should not set it at all for the cells you wish to be resizable. A third option is this:

<table>  <col width="10">  <col width="10">  <col width="10">  <col width="10">  <col>  <col width="10">  <col width="10">  <col width="10">  <col width="10">  <tr>    <td>      ...    </td>  </tr>  ...</table>  

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

This topic is closed to new replies.

Advertisement