...

View Full Version : how do i add a hover to this <a> tag



andrew1234
11-28-2002, 01:45 PM
Hi

heres my problem

i'm makein a web page that gets pasted into oulook

and out look only accepts syles for a link if its added in the <a> tag
like below


<a href="http://www.house.com" style="color: #3333CC; text-decoration:none; " >

so how do i add a hover to this <a> tag

with out haveing the <style type="text/css"></style>
at the top of the page

thanks

andrew

MCookie
11-28-2002, 01:55 PM
Not possible:

http://www.codingforums.com/showthread.php?threadid=9357

mhere
11-28-2002, 07:03 PM
yes, no way to define inline pseudo-class..
however, this might help instead:


<a href="http://www.house.com" style="color:#3333CC;text-decoration:none" onmouseover="this.style.textDecoration='underline'; this.style.color='#000000'" onmouseout="this.style.textDecoration='none'; this.style.color='#3333CC'">Hello</a>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum