Sign in to follow this  
nLEyETn

[web] Table Cell Widths in IE Not Adjusting

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this