Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 09:13:41 PM

Pages: [1]   Go Down
  Print  
Author Topic: how can I remove underline from all hyperlinked text?  (Read 758 times)
chemic2
Spaceship Navigator
*****
Offline Offline

Posts: 82


WWW
« on: June 11, 2004, 07:43:28 PM »

I know this has to be very easy, but I can't seem to avoid the annoying underline that occurs with every text that is hyperlinked.
Anyone have a clue??
Logged
TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #1 on: June 11, 2004, 08:04:52 PM »

That's standard HTML behavior. If you want to deprogram such behavior globally across your site, you would need to learn to work with style sheets Smile

Here's a basic tutorial to using CSS:
http://www.w3schools.com/css/default.asp
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
jojooboo
Jabba the Hutt
*****
Offline Offline

Posts: 717



WWW
« Reply #2 on: June 11, 2004, 08:05:44 PM »

Well, one way is to do this:

Code:

<A style="text-decoration:none" HREF="destinationpage.html">Name of Link</A>
Logged

leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 13870


WWW
« Reply #3 on: June 11, 2004, 09:38:43 PM »

To add to jojooboo's post, you can also write it this way and add a "hover" so that it turns color when the mouse is put on the link (you can use the hex decimal codes for colors, as well):

Code:
<style> A { text-decoration: none } A:hover { color: red } </style>


Put this tag just under the </head> tag. You do not need to put this tag in front of every single link, it will be global for all the links on your page.
Logged
Pete
Alien Anomaly
Senior Moderator
Professor in Nanotechnology
*****
Offline Offline

Posts: 4302



WWW
« Reply #4 on: June 12, 2004, 02:38:20 AM »

Hi chemic2

As you've asked this question in the 'Frontpage' section of the forum.
I will give you the frontpage answer.

Using frontpage right click your link in "normal" mode and select font. Then untick underline.  Thumbs Up
Logged

x-visions.com


As I'm always saying.. (But nobody listens)
"Take a step back.. Take a deep breath and see if there a simple solution there, thats hiding" lol  Very HappyLunarpages Web Hosting   Lunarpages Forums  Lunarpages Affiliate Program
TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #5 on: June 12, 2004, 02:43:47 AM »

Quote from: Pete
Hi chemic2

As you've asked this question in the 'Frontpage' section of the forum.
I will give you the frontpage answer.

Using frontpage right click your link in "normal" mode and select font. Then untick underline.  Thumbs Up

Good catch, Pete. Thumbs Up

I don't even pay attention to which forums the threads are posted. Embarassed

However, with that method, does it apply to each link only, or could it be done globally?
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 13870


WWW
« Reply #6 on: June 12, 2004, 03:20:41 AM »

Quote from: Pete
As you've asked this question in the 'Frontpage' section of the forum.
I will give you the frontpage answer.

Using frontpage right click your link in "normal" mode and select font. Then untick underline.  Thumbs Up


Will our method not work for FrontPage, Pete?

Unless you are giving her the answer for doing it in the software instead of hard-coding (which is probably the better way for her to do it).
Logged
Pete
Alien Anomaly
Senior Moderator
Professor in Nanotechnology
*****
Offline Offline

Posts: 4302



WWW
« Reply #7 on: June 12, 2004, 03:42:44 AM »

Yes your method works fine leighsww
I was just assuming that as chemic2 was posting in the frontpage section I would give the frontpage answer.

Al the suggestions work just fine  Thumbs Up

I have loaded Frontpage onto one of my machines to look for  the 'global' setting and will post the 'button click' answer IF I find it  Embarassed
Logged

x-visions.com


As I'm always saying.. (But nobody listens)
"Take a step back.. Take a deep breath and see if there a simple solution there, thats hiding" lol  Very HappyLunarpages Web Hosting   Lunarpages Forums  Lunarpages Affiliate Program
Pages: [1]   Go Up
  Print  
 
Jump to: