Links

V

Vito Dolce LaPesca

Greets,
I have a listing of names:

Bill
Ann
Joe

When the user mouses over each name they turn a different color - using
CSS - not javascript.

like:

a:hover{color:#fff000;

}

and the .html markup is:

<a href="#">Bill</a>

The problem is that the pound sign loads the page to the top. Is there a
way to keep the <a href> and have the user click on the link which keeps the
page exactly where it is and not go to the top?

Thank you.
TR
 
S

Steve Easton

Remove the # sign. # is a default bookmark to the top of the page.

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

Bob Lehmann

I'm curious - Why do you want to have a link that goes nowhere? Are you
planning on running a script?

Bob Lehmann
 
V

Vito Dolce LaPesca

chris leeds wrote in message:
modify it like this:

<a href="#" onclick="return false;">Bill</a>
..............

Thanks Chris.
TR
 
V

Vito Dolce LaPesca

I want to continue using the CSS hover attribute on the <a hrefs> without
using javascript.

The change of color in the hover is just for aesthetics.

TR
 
T

Thomas A. Rowe

But it may make your users think that the "link" is broken.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================
 
C

chris leeds

then I suggest you use the <acronym title="say some stuff for a pop-up
box">Some Guy</acronym> and just code the acronym tag in your .css so it
looks the way you want. this is really what you should be trying to do
anyway really.
<IMHO>
 
Top