CSS Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.Anti-spam check. Do not fill this in! ====Combinators==== Multiple simple selectors may be joined using combinators to specify elements by location, element type, id, class, or any combination thereof.<ref>{{cite web |url-status=live |url=https://www.w3.org/TR/CSS21/selector.html |archive-url=https://web.archive.org/web/20060423174213/https://www.w3.org/TR/CSS21/selector.html |archive-date=2006-04-23 |title=Selectors |publisher=W3C |work=Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification}}</ref> The order of the selectors is important. For example, <syntaxhighlight inline lang="css" class=nowrap> div .myClass {color: red;}</syntaxhighlight> applies to all elements of class myClass that are inside div elements, whereas <syntaxhighlight inline lang="css" class=nowrap>.myClass div {color: red;}</syntaxhighlight> applies to all div elements that are inside elements of class myClass. This is not to be confused with concatenated identifiers such as <syntaxhighlight inline="" lang="css" class="nowrap"> div.myClass {color: red;}</syntaxhighlight> which applies to div elements of class myClass. Summary: Please note that all contributions to Christianpedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Christianpedia:Copyrights for details). Do not submit copyrighted work without permission! Cancel Editing help (opens in new window) Discuss this page