We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

indianocean on 12/10/07


Tagged


Versions (?)


Selector syntax, a little advanced


Published in: HTML 


URL: css html selector

  1. <div id="col3_content">
  2. <div id="id1" class="subclass">
  3. <div class="title">
  4. <a href="#">The Title</a>
  5. </div>
  6. </div>
  7. </div>
  8.  
  9. <!-- now select anchor -->
  10. #col3_content #id1.subclass .title a{
  11. color: green;
  12. }

Report this snippet 

You need to login to post a comment.