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

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 UTC