J
Jonathan N. Little
Trying to understand the source of the vertical padding first-letter
pseudo class when floated to produce a drop cap. See demo page that I
have set up to illustrate the trouble.
http://www.littleworksstudio.com/temp/dropcap.html
Using the same code for a span element behaves differently and the
problem seems to occur with Gecko browsers. Most drop cap example on the
web use absolute dims in px and I wanted a flexible design that scaled
with the font. Demo page includes code, live example and screenshots,
the yellow background is the styled span and the red is the first-letter
pseudo class. What am I overlooking here?
pseudo class when floated to produce a drop cap. See demo page that I
have set up to illustrate the trouble.
http://www.littleworksstudio.com/temp/dropcap.html
Using the same code for a span element behaves differently and the
problem seems to occur with Gecko browsers. Most drop cap example on the
web use absolute dims in px and I wanted a flexible design that scaled
with the font. Demo page includes code, live example and screenshots,
the yellow background is the styled span and the red is the first-letter
pseudo class. What am I overlooking here?