Posted by richard on 10/06/06 19:08
"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>
[Back to original message]
|