You are here: Re: is this css legal ? « HTML « IT news, forums, messages
Re: is this css legal ?

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>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация