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

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

From: Werner Donné <werner.donne@re.be>
Date: Mon, 19 Dec 2005 16:14:18 +0100
Message-ID: <43A6CE4A.60605@re.be>
To: Garrett Smith <dhtmlkitchen@gmail.com>
CC: www-style@w3.org

Yes, but then we partially lose control over the inline
material that is affected by the :first-letter pseudo
element. Couldn't the inline properties be said to apply
to the inline material?

Garrett Smith wrote:
> 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/
> 
> 

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Monday, 19 December 2005 15:13:49 GMT

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