Posted by NoWhereMan on 10/06/06 19:20
on Fri, 06 Oct 2006 15:05:20 -0400, Harlan Messinger wrote:
> Eric B. Bednarz wrote:
>> NoWhereMan <nowhereman@PLEASEDONTSPAMMEdespammed.com> writes:
>>
>>> are these css selectors legal ?
>>>
>>> .storycontent > p:first-child:first-letter{
>>
>>> .storycontent > p:first-child:first-line{
>>
>>> looks like syntactically valid (the w3c validator says it is) but is it
>>> legal ?
>>
>> It looks suspicious
>
> Why? Because it's redundant?
i used the first-child because if I used only the first-letter I would have
the big capital with every new <p>. You can see the markup at the
nowhereblog linked on my sign :)
[...]
> At that point, the UA equally well act *as if* that pseudo-element has
> pseudo-elements of its own, if a reference that could be interpreted
> that way appear in a selector.
yes, that's what I thought when I used such a trick. however if you have a
suggestion for a (maybe) better solution just let me know. Css's are not
really my matter :)
bye
--
NoWhereMan
-- NoWhereBlog: www.nowhereland.it
-- deviantArt: http://nowhereland.deviantart.com
[Back to original message]
|