Re: :first-letter pseudo element and vertical-align

vertical-align does not apply to block level elements.

(float converts elements to block level).



On 12/19/05, Werner Donné <werner.donne@re.be> wrote:
>
> Hi,
>
> Why does the property "vertical-align" only apply for
> a ":first-line" pseudo element when "float" is "none"?
> When the first letter is rendered as a float it should
> be possible to fine-tune its vertical alignment, which
> depends on the font. If you want the height of the
> first letter to occupy exactly three lines, for example,
> you also want to align it properly to those lines.
>
> Best regards,
>
> Werner.
> --
> Werner Donné  --  Re BVBA
> Engelbeekstraat 8
> B-3300 Tienen
> tel: (+32) 486 425803   e-mail: werner.donne@re.be
>
>


--
http://dhtmlkitchen.com/

Received on Monday, 19 December 2005 14:58:55 UTC