Inline style in html for OnMouseOver


One of the my project I want to define underline on link when mouse overlap. I tried and finally got the solution that how to write a inline style for onMouse Over text change.

code is
———————-
<a href=”#” style=”text-decoration:none;” onmouseover=”this.style.textDecoration =’underline’;”
onmouseout=”this.style.textDecoration=’none’;”>My Link</a>
———————-

Advertisements

About ashoksuthar

I am ashok suthar a web & graphic designer from Mumbai, India specializing in the user interface design. I like to build a clean, appealing and functional interfaces designs which is based on latest web standards. I love designing and it is my passion. Currently working with GMI-Idhasoft Company in Mumbai.

3 responses to “Inline style in html for OnMouseOver”

  1. Jon says :

    Hey, cool stuff.

  2. chillingat says :

    Wish, I could do some of this stuff…

  3. best seo company india says :

    Pretty great post. I simply stumbled upon your weblog and wished to say that I’ve truly enjoyed browsing your blog posts. After all I’ll be subscribing for your rss feed and I am hoping you write again soon!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: