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!

Trouble controlling text Hyperlinks using CSS

Status
Not open for further replies.
Oct 22, 2001
28
GB
Hi

I'm trying to alter the appearance of some text hyperlinks using CSS. So far I've got this code in the <SYTLE> bit,

a.Link1  {color: #F5F5F5}
a.Link1:hover {color: #996699}

a.Link2  {color: #FFFFFF}
a.Link2:hover {color: #000000}

and then this in the <BODY>

<A HREF=&quot;page1.htm&quot; CLASS=Link1>Link to page 1</A><BR><BR>
<A HREF=&quot;page2.htm&quot; CLASS=Link2>Link to page 2</A>

The hover bit seems to work ok when I'm viewing the page through IE5.5, but not the actual link bit. (Neither are working when I view through Netscape 4.) I'm sure I've done something like this before successfully, but just can't see where I'm going wrong here.

Any help or advice would be very much appreciated.

 
Sorry forum, I shouldn't have posted this, I've just noticed another thread on exactly the same topic . My only excuse is it is Friday....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top