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

Mouse Over

Status
Not open for further replies.

mmt4331

Programmer
Dec 18, 2000
125
US
The HTML below, whenever I try to mouse over on my links, I would like for them to turn to a different color (maybe green). How would I do that?

<HTML>
<Head>
<h1><u> Company Links</u></h1>
</Head><title>Company Links</title>
<p>
<h3><i> HONDA</i></h3>

<Body bgcolor=&quot;skyblue&quot; link=&quot;#ff00ff&quot; vlink=&quot;#660000&quot; alink=&quot;#ff0000&quot;>
<UL type=&quot;circle&quot;>
<LI><a href=&quot; target=&quot;content&quot;>Honda</a>
<br>
<br>
<LI><a href=&quot; target=&quot;content&quot;>HAM Home Page</a>
<br>
<br>
<li><a href=&quot; target=&quot;content&quot;>Honda Corporate Page</a>
<br>
<br>
<LI><a href=&quot; target=&quot;content&quot;>Careers at Honda</a>
</ul>
<hr align=&quot;left&quot; noshade size=&quot;1&quot; width=&quot;420&quot;>


<h3><i> IBM</i></h3>
<ul type=&quot;circle&quot;>
<LI><a href=&quot; Home Page</a>
<br>
<br>
<LI><a href=&quot; target=&quot;content&quot;>ZOS</a>

</ul>
<hr align=&quot;left&quot; noshade size=&quot;1&quot; width=&quot;420&quot;>

<h3><i> STK</i></h3></a>
<ul type=&quot;circle&quot;>
<LI><a href=&quot; target=&quot;content&quot;>Storage Tech Home Page</a>
<br>
<br>
<li><a href=&quot; target=&quot;content&quot;>Photo gallery of STK Tapes</a>
</ul>

</Body>
</HTML>
 
put this in the <head> of the document:

<style type=&quot;text/css&quot;>
a {
color:#ff00ff;
}
a:hover {
color:#00ff00;
}
</style>

=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
I tried this and it still wouldn't work. Any other suggestions?
 
make sure it is between the <head> and </head> tags.

show the code for your page now.

=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top