underline text when mouse over is not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have a some links and want it to underline the link on mouse over.
When I try to do this to one link it makes all of the links underline when
you hover over one. I made sure that I was only selecting one link. I am
using frontpages DHTML effects to do it.
Thanks,
 
Since you mentioned DHTML, are they text links or image links??

If text links, you need to enable the underline on mouseover using CSS, not javascript.
Place the following in the head section of the page:

<style type="text/CSS">
a.hover{
text-decoration: underline;
}
</style>


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
a:hover (that's the gizmo with the two periods vertically aligned)! 8)

--
Murray
============

Steve Easton said:
Since you mentioned DHTML, are they text links or image links??

If text links, you need to enable the underline on mouseover using CSS,
not javascript.
Place the following in the head section of the page:

<style type="text/CSS">
a.hover{
text-decoration: underline;
}
</style>


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
 
Oops.

Yep that's the one :


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
Murray said:
a:hover (that's the gizmo with the two periods vertically aligned)! 8)
 
I would really need to see your code to know what is happening here. Can
you post a link to your page?
 
I am working on my webpage offline using MSIE to preview. I put each link
in a separate cell in a table and it works now. Thanks for your help.
Louis

Murray said:
I would really need to see your code to know what is happening here. Can
you post a link to your page?
 
You shouldn't have to go through all that trouble just to get your links to
underline. Use Steve Easton's advice on CSS.

Wally S

Louis said:
I am working on my webpage offline using MSIE to preview. I put each link
in a separate cell in a table and it works now. Thanks for your help.
Louis
 
The problem likely is that several phrases have gotten amalgamated under the
same anchor tag - that is one that is hard to fix in Design view. CSS
wouldn't help in this case.
 
Back
Top