470,613 Members | 2,287 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

## about mousseover in hyperlink ##

I'm newbe to web.
I designed a web page using HTML.I also studying javascript.
I want to increase my link text and change my link color when i mouse
over it.
I tried with the below code . It is not working
<a href="somefile.htm" style="text-decoration:none"
OnMouseOver="javascript:this.style.color='#003300' ;this.style.text-size='10'
OnMouseOut="this.style.color='#990099'"><b>Some text</b></a>

Please help me
Jul 23 '05 #1
3 1296
ms*********@rediffmail.com (M.Senthil Kumar) skrev :
I tried with the below code . It is not working
<a href="somefile.htm" style="text-decoration:none"
OnMouseOver="javascript:this.style.color='#003300 ';this.style.text-size='10'
OnMouseOut="this.style.color='#990099'"><b>Some text</b></a>


<a href="somefile.htm" style="text-decoration:none"
OnMouseOver="this.style.color='#003300';this.style .fontSize='10px';"
OnMouseOut="this.style.color='#990099';"><b>Some text</b></a>
--
Knud
http://hjemmesider.frac.dk
med en smule indhold - mere kommer
Jul 23 '05 #2
On 21 May 2004 05:45:40 -0700, M.Senthil Kumar wrote:
I want to increase my link text and change my link color when i mouse
over it.


Something like this should do it..

<html>
<head>
....
<style type="text/css">
a:active, a:hover {
background-color: #ff0;
color: #f00;
font-size: 110%;
}
</style>
</head>
....

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #3
utilisez les feuilles de styles CSS !

GR

M.Senthil Kumar a écrit:
I'm newbe to web.
I designed a web page using HTML.I also studying javascript.
I want to increase my link text and change my link color when i mouse
over it.
I tried with the below code . It is not working
<a href="somefile.htm" style="text-decoration:none"
OnMouseOver="javascript:this.style.color='#003300' ;this.style.text-size='10'
OnMouseOut="this.style.color='#990099'"><b>Some text</b></a>

Please help me


Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ryan Harvey | last post: by
5 posts views Thread by Martin Dew | last post: by
9 posts views Thread by Leon | last post: by
19 posts views Thread by Joe | last post: by
8 posts views Thread by Nathan Sokalski | last post: by
20 posts views Thread by tshad | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.