Re:Line under hyperlink

D

David Egan

Hi

Want to know how you remove the line under a hyper link (text) when the
mouse is not over the link and when you move the mouse over the link (text)
the under line appears most proffessional sites operate this way.

Is Java script required for this?


Regard
David
 
C

Chris Morris

David Egan said:
Want to know how you remove the line under a hyper link (text) when the
mouse is not over the link and when you move the mouse over the link (text)
the under line appears most proffessional sites operate this way.

a { text-decoration: none; }
a:hover { text-decoration: underline; }

Make sure you make it clear through some other means that the text is
a link, the reverse behaviour (underline vanishes on mouse-over) is
also very common and easier to use.

a:hover { text-decoration: none; }
 
B

Beauregard T. Shagnasty

David Egan began a thread with "Re:"
Want to know how you remove the line under a hyper link (text) when
the mouse is not over the link and when you move the mouse over the
link (text) the under line appears most proffessional sites operate
this way.

Why would you want to confuse your visitors? How are they to find your
links if they are not underlined? Do you have a URL?

Any professional site that does this needs some training in the web
department.
Is Java script required for this?

No. Use CSS if you really must. Look into
{ text-decoration: none }
 
B

Barry Pearson

Beauregard said:
David Egan began a thread with "Re:"


Why would you want to confuse your visitors? How are they to find your
links if they are not underlined? Do you have a URL?

Any professional site that does this needs some training in the web
department.
[snip]

I tend to agree if these are "stand-along" links in some sense. (I
experimented, but changed back to underlines for that reason).

But if these are links that are made to look like buttons, or links in some
drop-down menu, I think people know enough to realise that they links.
Especially if the the whole of the button, instead of just the text part of
it, is sensitive to "hover".
 
M

Mitja

Links Want To Be Links
But some of them want to look oh so pretty. It's only democratic to allow
it... [As long as it stays evident what they are]
 
J

Jukka K. Korpela

Barry Pearson said:
But if these are links that are made to look like buttons, or links
in some drop-down menu, I think people know enough to realise that
they links.

Pardon? If you deliberately do quite some work to prevent links from
looking like links, turning them to buttons or dropdown menu entries, how
can you seriously say that they - of all links - should be recognized as
links?
 
B

brucie

in post: <
But some of them want to look oh so pretty. It's only democratic to allow
it... [As long as it stays evident what they are]

i don't have a problem with that[1] but i think people should be aware
of the issues involved before they do it, not just do it just because
its kewl and screw it up.


[1] i own the patent on removing underlines and get 50 cents every time
someone does it.
 
W

Whitecrest

Pardon? If you deliberately do quite some work to prevent links from
looking like links, turning them to buttons or dropdown menu entries, how
can you seriously say that they - of all links - should be recognized as
links?

Virtually every good CSS dropdown menu example does away with the
underline.
 

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

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top