John wrote:
> Now and again I like to start a sentence with a large capital, maybe
> in a different font. This upsets the line spacing and I've failed to
> find any css that will effectively crop the capital letter from the
> bottom, to allow the line spacing of the following smaller font text
> to remain unaffected. I've always had to resort to a graphic for the
> leading capital - is there a way I can do this with css?
>
I think you might want the first-letter pseudo-element:
http://www.w3.org/TR/CSS21/selector.html#first-letter
I'm not sure how well supported it is in browsers. You don't really want
to crop the letter (which to me means cut off part of it), do you?
|