Possible Duplicate:
CSS - table not using body font size even though I havent set the table font size explicitly
CSS declaration: body { font-size: .75em; }
HTML:
<body开发者_如何转开发>
<table>
<tbody>
<tr>
<td>Hello</d>
</tr>
</tbody>
</table>
<p>Helllo.</p>
</body>
In WebKit (Chrome, Safari) there's a user agent CSS override for the table
element of font-size: medium
which makes the table bigger. I think this is obnoxious and OK I can just write the CSS declaration like body, table { font-size: .75em; }
but I'm hoping someone can 'splain the logic of it.
Thanks.
Update eh, I guess it was a DOCTYPE
-less quirks mode thing but still, that's obnoxious, isn't it?
There's a setting in Chrome for a minimum font size...could that be anything to do with it? See this long discussion on the subject.
精彩评论