IE's CSS does letter-spacing stupidly

I know most of my readers (all 2 of you) will probably stare blankly at me over this topic, (I guess this is mostly for the search engines) but IE continues to piss me off, and I need to tell SOMEONE.
Today's problem is IE7's math, and their implementation of kerning. (having wiki'd that, I see I may be talking about tracking, but who cares.)
In css, you use a parameter called letter-spacing to change kerning on things. As with all other css, you can specify the units you want to use as pixels, points, percentages, or em. (there are others.)
An em is essentially the width of a standard 'M' character in your font of choice. For IE's mathematical purposes, it's a percentage of the font size you specified elsewhere.
So if I have a font-size: 12px; for my entire document. I can make my headers: font-size: 1.5em; and they will be displayed 150% of 12px. (18px)
So.. an example.
if you're using any recent browser, that should look all spready...
Now.. I rarely need massive letter spacing like that... (though it does come up.) More often than not, I get handed a nice layout from a pro graphic designer that has text in it that is crammed together, ever so slightly, but it really does change the look of certain things.
in IE.. the best you can do for 'ever so slightly' is this:
that's not so bad in trebuchet or whatever the hell i'm using here, but in an italic serif font, it looks pretty tight. Now, IE can take any unit ABOVE .05.. (or 5%).. which.. in negative kerning terms.. isn't too useful.. but I sleep well at night knowing that I can always choose to do something like:
yeah... that's fabulous.. I'm sure that'll come in handy somewhere.
So, to summarize.. IE7 doesn't seem to know what to do with a negative kerning value below 5%. That may not seem like a big deal to you, but really, within that 5% is all of the most useful kerning you'd normally ever use.. the kerning between 'none' and 'just a bit'.
To break it down to my problem today.. I've got a 24px headline.. 5% of 24px is 1.2 pixels per character.. over 30 characters, that's 36pixels shorter than normal
there ya go.. (if you're using IE7.. the second one will be the same size as the last. those are 5%, 2%, and normal.)
I know most of you think it's a small thing, but this kinda crap is what design folk constantly hit standards nazis like myself with when I'm trying to use html and actual text instead of images to create their web designs.
Mindreading
Did any of you report this issue to Microsoft? I bet not. If you'd expend your energy reporting issues/bugs instead of ranting about them, there would like to be fewer issues to deal with!
, Lee
Heh. You think we'd get an
Heh. You think we'd get an IE update out of it? You think MS would put someone on a patch right away in order to fix a 'works as intended but the intention was dumb' bug?
They've got stacks and stacks of 'it doesn't work as intended' bugs that I'm sure would be on the top of that stack.
Wanna enlighten me and tell me where such a thing would go? I'll happily report it to MS.. for all the good it'd do.
I just subscribe your anger
I just subscribe your anger and the rest of comments... I don't know how the MS staff are earning far more than me ;) and keep rolling those big craps x-( version after version, each on worse
I agree with you
Those mother f... bastards browsers. To the hell with them. They made me crazy!!!! Specially when you design toward to be 'pixel perfect'
PD:I am really pissed off! See a workaround on
http://cdharrison.com/2005/12/07/css-letter-spacing-glitch-in-ie/
IE disappoints in so many ways
I too find this frustrating. Not nearly as frustrating as other IE quirks, but still. I am glad I found your page though... I thought IE was just ignoring all negative letter-spacing until I stumbled here via a search on "msie letter-spacing css". Now at least I know I can use -0.05em in an IE-specific style sheet to achieve almost the look I'm going for.
Hi Aaron, just to let you
Hi Aaron, just to let you know this issue really pisses me off too.