Q:

Using CSS Classes

<td class="blue">
    <a href="lnk1.aspx">Hi1</a> 
    <a href="lnk2.aspx">Hi2</a> 
    <a href="lnk3.aspx">Hi3</a>
    <div>Not Blue</div>
</td>

I want the class in the  tag ("blue") to make Hi1,Hi2 and Hi3 blue.
So what should be the head of that class?
????
{
    color:blue;
}

A:

Using a descendant selector:
td.blue a {
    color: blue;
}

Or if you only want it for immediate children, a child selector:
td.blue > a {
    color: blue;
}

Reference material:

Selectors supported by most browsers: CSS 2.1
Newer selectors supported by some browsers and by various JavaScript libraries (for interacting with the DOM): CSS3 Selectors

