Sent by Jeroen Visser [ vizi ] on 30 January 2005 12:12
Jukka K. Korpela wrote:
> On Sun, 23 Jan 2005, John Lewis wrote:
>
>>Opera does the same thing. I am not sure if IE is correct. CSS doesn't say
>>how letter-spacing should be implemented.
>
> When IE disagrees with Mozilla and Opera, the odds are that IE is wrong,
> but in this case, I think it's different. The letter-spacing property has
> been defined as added spacing between letters, so for <span>ab</span>
> it should mean the added spacing between a and b, right? If we think that
> it means spacing _around_ each letter, then we should expect it to affect
> both the spacing before a and the spacing after b.
It seems that Mozilla and Opera are more in line with the approach of
graphic design programs as QuarkXPress, InDesign and Illustrator, where
kerning (or letter-spacing in general) on a _single_ selected character
is always applied to the space _after_ this character. IIrc, selecting
multiple characters also applies the kerning to the space after the
rightmost selected character (for LTR texts, that is).
Jeroen
--
vizi fotografie & grafisch ontwerp - http://www.vizi.nl/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/