IE table column pixel width problem on colspan |
IE table column pixel width problem on colspan |
Athca |
Oct 8 2008, 07:10 AM
Post
#1
|
Group: Members Posts: 4 Joined: 8-October 08 Member No.: 6,841 |
Hi,
I have a table with four columns and some rows. First and third columns have a class. When I make colspan to second,third and fourth column for any row no problem occurs till giving a long text to colspaned column. Here is an example HTML page : http://www.webnero.com/test.html You can see 4 Sample table. First table is a standart table with short text on colspaned column Second tables code is exactly same with first one but the text is much longer. You can see the problem on second table. When I add attribute cols to table, on first load it seems ok but after refreshing the page it looks like second table. the forth table is as same as second table but the class of the first and second columns are different and the width is on percent parameter. The problem occurs on IE6 and IE7 Firefox is ok. I don't want to use Javascript (I can fix it using js but it shouldn't be the solution) I must use class. because thousands of page uses this table structure. So I should change the with with css. I can't use percent because the with of the content may change according the page. I searched so much about this problem but couldn't find a solution. Thanks for your help. |
Lo-Fi Version | Time is now: 29th March 2024 - 04:09 AM |