quite infrequent thoughts and opinions on web standards
« Time to hide all css from IE/Mac? | Main | Capri »
March 19, 2006
The Capital W bug
Not to be confused with the VW-bug..
The capital letter W starts off 1px to the left of where it should if the following conditions are true:
- font-family: sans-serif
- font-size initially set to keyword: small on body
- font size then re-sized to between 83 and 90% on a container.
The following font-size values set on body (or your container of choice) also gets the job done without the down-sizing:
- 0.7em
- 11px
- 66%-72%
IE6/Win choppes part of the letter off. In lists the problem occurs when margin is set to zero.
If font-size is set to less than 83% or more than 90% the problem disappears. The same is true if you change font-family (Arial displays the same behaviour though). and no, I haven't tried every other font.
So. Are we dealing with a windows-problem here or is it native to the Arial font or any sans-serif? Well, since the problem also occurs in MS Word when you set Arial to size 8, we can at least be sure that it is not a CSS bug. IE7 beta 2 does not have the problem though. My bet is still with Windows. Any other ideas?
Posted by Ake Johansson at March 19, 2006 10:25 PM | del.icio.us this
Trackback Pings
TrackBack URL for this entry:
http://www.subtil.se/cgi-bin/mt-tb.cgi/12