Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apply CSS to part of an HTML page

Status
Not open for further replies.

bikh

Programmer
May 3, 2002
25
US
I need to apply a CSS to part of a page, a cell in a table. I want to apply a custom style to hyperlinks on just a cell of a table, like color and font...

I know how to do it for the entire html page, but not to a part of it only.
 
In the links in the table specify their class:

a.test:link {styles}
a.test:active {styles}
a.test:visited {styles}
a.test:hover {styles}

<-- table code--->
<a href=&quot;url&quot; class=&quot;test&quot; title=&quot;link...&quot;>Link here</a>
<-- table code--->



::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top