Le 4 juil. 2014 à 06:09, David Hucklesby <huckle...@gmail.com> a écrit :
> I think you may be looking at the normal letter spacing that occurs between > letters. If you increase the font-size of your test text, you will notice > small > gaps there as well. Close; it is the full font-metrics, in this case the intrinsic kerning for the given font. > As this spacing varies by letter and font, I’m sorry I have no good solution. > Playing with the CSS letter-spacing value did not give a useful result. YMMV. letter-spacing: -.05em works here for the bottom span, at the price of pulling each of the 3 letters closer to each other. But that “fix” might be browser and platform dependent, and is dependent on the font & font-size as well. A more stable fix is using a small negative margin-right (something like -.1em). But again, this is dependent on platform, browser and font-metrics. Le 4 juil. 2014 à 01:40, Elli Vizcaino <e7f...@gmail.com> a écrit : > [snip] > It's just frustrating though > when you see that the behavior can be controlled with a floated div. > Though in this case it would be invalid markup to place it inside of a > header tag. Nope, nothing to do with div vs span vs em vs whatever. You’d have the exact same problem with a div. As noted above, it is the metrics of the given font. Philippe -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/