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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Different Hyperlink styles on one page

Status
Not open for further replies.

alfalf

Programmer
Mar 6, 2003
155
BA
Hello all.

Is it possible to have different hyperlink styles on one page?

For example, is it possible to colour one link in white (to put them on black background) and one with blue colour?

Thanks for any suggestions.
 
Hi,

Try this:

Code:
<HTML>
<HEAD>
  <TITLE>Link Colors</TITLE>
  <STYLE>
    .blue {
	color : blue;
    }
    .red {
	color : red;
    }
  </STYLE>
</HEAD>
<BODY>
  <A HREF="" CLASS="blue">Blue!</A>
  <A HREF="" CLASS="red">Red!</A>
</BODY>
</HTML>

Good Luck §;O)


Jakob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top