CODE element in IE
Building a template I found a problem in the rendering of the CODE element in Internet Explorer. Sometimes in IE (all versions including IE7) the font size of it was not the correct one, but an unreadable smaller size.
The way to solve this problem is to add a simple CSS-declaration into you style sheet where you specify the CODE element:
code { font-size: 100%; }Not very hard, isn’t it?
Posted on Saturday, October 28th, 2006 in HTML, CSS
Comments and trackbacks are welcome.
