You are here: Re: CSS: Class error « HTML « IT news, forums, messages
Re: CSS: Class error

Posted by Steve Pugh on 02/27/06 21:27

"Luigi Donatello Asero" <jaggillarfotboll@telia.com> wrote:

>Is
>#sverige.subsection a=
><a class="subsection" id="sverige"> ?

No. And surely you've seen enough CSS by now to understand something
as basic as a descendent selector? Ignore the order of the #sverige
and .subsection, would you ask whether "#sverige a" matched <a
id="sverige"> or whether ".subsection a" matched <a
class="subsection">?

#sverige.subsection a
is the selector for
<foo class="subsection" id="sverige"><a>

The selector for <a class="subsection" id="sverige">
would be
a#sverige.subsection

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>

 

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

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