|
Posted by Jonathan N. Little on 10/06/06 20:23
richard wrote:
>
> "NoWhereMan" <nowhereman@PLEASEDONTSPAMMEdespammed.com> wrote in message
> news:1jysbvn2ek2zn.1xm11nkjtugck$.dlg@40tude.net...
>> are these css selectors legal ?
>>
>> .storycontent > p:first-child:first-letter{
>> font-size: 6em;
>> color: #bc0f09;
>> font-family: Georgia, Times, 'Times New Roman', serif;
>> float: left;
>> padding: 0.1em;
>> }
>>
>> .storycontent > p:first-child:first-line{
>> font-variant: small-caps;
>> font-size: 1.3em;
>> }
>>
>> looks like syntactically valid (the w3c validator says it is) but is it
>> legal ?
>>
>> firefox interprets this as I suppose it should; opera does not :(
>
> What's with the > before p?
> The only time > should be used is to denote a tag.
> <tag></tag>
>
RTFM, http://www.w3.org/TR/CSS21/selector.html#child-selectors
Disregard richard...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|