You are here: Re: <ul class="subsubsection" id="domaener"> « HTML « IT news, forums, messages
Re: <ul class="subsubsection" id="domaener">

Posted by Jonathan N. Little on 06/30/06 13:38

Luigi Donatello Asero wrote:
> Hello,
> How do I write ul class and id in an external style sheet?
> Are the forms
> #domaener.subsubsection ul {
> }
> and
> <ul class="subsubsection" id="domaener">
> both accepted
> or perhaps wrong?

Wrong, that points to a UL that is a *child* of element ID "domaener"
and class "subsubsection".

if you want to style the UL then

#domaener.subsubsection {...} is want you want. The UL is not needed
because only *one* element can be id "domaener", one would write

element.className {...}

to be more specific because you *can* have more than one element that is
class="subsubsection".

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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