CSS: How to refer to a tag

Posted by Harry Pham on Stack Overflow See other posts from Stack Overflow or by Harry Pham
Published on 2010-03-30T21:08:58Z Indexed on 2010/03/30 21:13 UTC
Read the original article Hit count: 431

Filed under:
|
|

I know how to refer to a tag with an id or class in css

 <table id="cooltable">
      <tr>
          <td></td>
          <td></td>
      </tr>
 </table>

so in css, u refer this <table> by

 table#cooltable{
     ...
 }

However, if I want to refer the <td> in <table> in css, how do I that?

© Stack Overflow or respective owner

Related posts about html

Related posts about css