W3C home > Mailing lists > Public > www-style@w3.org > December 2005

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

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 19 Dec 2005 06:58:42 -0800
Message-ID: <c9e12660512190658s676ab6f7y86ceedefc83b29ae@mail.gmail.com>
To: werner.donne@re.be
Cc: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:42 GMT