underline text when mouse over is not working

L

Louis

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,
 
S

Steve Easton

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
 
M

Murray

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
 
S

Steve Easton

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)
 
M

Murray

I would really need to see your code to know what is happening here. Can
you post a link to your page?
 
L

Louis

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?
 
W

Wally S

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
 
M

Murray

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top