So I have a 2 Column Table. The bottom of each table I want to fill with a color.
If one column is longer than the other I want that column to be filled with that column color to the bottom.
So I used
This works fine in FF obviously the height is not 100% it might be 5%, 20% whatever is left over really.Code:<td style="height=100%;background-color:red;"></td>
In IE7 it adds 100% of the column height. So if I did something like
The table height would actually be 400%. This only happens when I set the Document Type too. I was using HTML4 Trans but it seemed to happen if I set any doc type. If I don't set a doc type then it works as I would like. Problem is I want a Doc Type set.Code:<table><tr> <td style="height=100%;background-color:red;"></td> </tr><tr> <td style="height=100%;background-color:red;"></td> </tr><tr> <td style="height=100%;background-color:red;"></td> </tr><tr> <td style="height=100%;background-color:red;"></td> </tr></table>
Any help on this?







Bookmarks