Community News
CSS Adjacent Sibling Selectors
niksy 1 Feb, 2008
Share on Facebook Tweet this Delicious StumbleUpon Reddit Subscribe
Adjacent sibling selectors have the following syntax: E1 + E2, where E2 is the subject of the selector. The selector matches if E1 and E2 share the same parent in the document tree and E1 immediately precedes E2.
Need more? Read these posts:
- Things Worth Noting About CSS Attribute Selectors
- Explanation for child and sibling CSS selectors
- The Skinny on CSS Attribute Selectors
- jQuery Lesson Series: Introduction to Selectors
- Styling a Poem with Advanced CSS Selectors
Comments
No comments yet.
Sorry, further comments are disabled for this post.
CSS Globe is a web design magazine brought to you by Alen Grakalic and kept fresh with member contributed news and exlusive articles.