Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

I need help

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

mgpremierhost

Established Member
Impact
0
I need a javascript or html to change the display of my links

right now it is a simple blue with an underline. that is ugly. I want to take away the underline and make the link black and have it turn a dark blue with the mouseover. can someone PM real quick with the code. thanks
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
Yes, CSS is the way to go!.
 
0
Close
That is a piece of cake, here the easy way:

<html>
<head>
<title> YOUR PAGE TITLE</title>


<style type="text/css"><!---
a { text-decoration: none; color:#000000; }
a:link { text-decoration: none; color:#006600; }
a:visited { text-decoration: underline; color:#CCCCCC; }
a: hover{ text-decoration: overline underline; color:#FF0000; }
a: hover{ text-decoration: underline; color:#000099; }
--></style>

here the rest of your content including </head> and <body>

the above code does this:

a = plain text with not underlined words in black colour
a:link = links without underline in green colour
a:visited: visited links in gray underlined
a:hover: links with an overline and underline in red when the cursors is on
a:active: underline links royal in blue when pressed.

of course you may change colours based on this chart:

http://www.immigration-usa.com/html_colors.html

as well as underline or not just changing this attibute at your convenience:

text-decoration: none (means not underline)
text-decoration: underline (obvious)
text-decoration: overline underline (both lines up and down)

hope this help
 
0
Close
Chronos said:
That is a piece of cake, here the easy way:



the above code does this:

a = plain text with not underlined words in black colour
a:link = links without underline in green colour
a:visited: visited links in gray underlined
a:hover: links with an overline and underline in red when the cursors is on
a:active: underline links royal in blue when pressed.

of course you may change colours based on this chart:

http://www.immigration-usa.com/html_colors.html

as well as underline or not just changing this attibute at your convenience:

text-decoration: none (means not underline)
text-decoration: underline (obvious)
text-decoration: overline underline (both lines up and down)

hope this help
good explanation and good help :)
 
0
Close
<style type="text/css">
<!---
a { text-decoration: none; color:#color; }
a:link { text-decoration: none; color:#color; }
a:visited { text-decoration: underline; color:#color; }
a: hover{ text-decoration: overline underline; color:#color; }
a: hover{ text-decoration: underline; color:#color; }
-->
</style>

Reputation is Appriciated
 
0
Close
0
Close
Thanks so much

Thanks so much for the help guys, much obliged.

Matt
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back