Huge Text Inside Tables on IE5/5.5 | May 14, 2004
It's been known for quite a while that IE5/5.5 ignores text sizes applied to the body tag, inside tables. Doing a search on this issue comes up with a few solutions, mosty involving the use of IE5/5.5 specific hacks. However there is a much, much easier solution. Simply set the font-size for tables to 1em.
body {
font: 76%/1.6em Verdana, Arial, Helvetica, sans-serif;
}
table {
font: 1em Verdana, Arial, Helvetica, sans-serif;
}
It's neither clever or sexy, but may be of use to somebody.
Posted at May 14, 2004 4:36 PM
Pieter said on May 14, 2004 5:10 PM
I always use something like:
[code]
body { font-size: 76%; }
table { font-size: 100%; }[/code]