Changing link properties
I know this has been covered before but I can't seem to find the thread.
How do you remove the underline from a text hyperlink? I know you can use a style sheet but is there a clean way in plain HTML?
Thanks!
------------------
ArtsNFlies.com
"It's not really a flyfishing shop, more like a Martha Stewart goes fishing thing!"
Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!
Come see what everyone is talking about!
merlin posted this at 09:27 — 21st January 2000.
They have: 410 posts
Joined: Oct 1999
hi jaiem
i don't think there's a possibility without a style-sheet. but you can include the style-tags in your html-file, so you don't need an external css-file. do it like this:
<head>
<title></title>
<style>
A{
text-decoration : none;
}
</style>
</head>
<body>
<a href="http://www.nab.ch">www.nab.ch</a>
the 'A' stands for a normal link without any further design-commands.
isn't that difficult is it?
Jaiem posted this at 19:52 — 21st January 2000.
They have: 1,191 posts
Joined: Apr 1999
Ali - Thanks. I was aware of that one. Just that someone told me it can also be done with plain HTML.
Here's another question:
I want to make a table and have the links in the table not be underlined. But all the other links on the page can have an underline. How do I assign the style sheet to just that one table?
Thanks.
------------------
ArtsNFlies.com
"It's not really a flyfishing shop, more like a Martha Stewart goes fishing thing!"
Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!
Come see what everyone is talking about!
John Pollock posted this at 20:18 — 21st January 2000.
He has: 628 posts
Joined: Mar 1999
You can place the style in-line- it is still a style sheet command but is placed in the HTML. I think that is what you are getting at:
<A HREF="url" style="text-decoration:none">Text</A>
That works for each link individually.
------------------
John Pollock
http://www.pageresource.com
http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
Jaiem posted this at 14:18 — 24th January 2000.
They have: 1,191 posts
Joined: Apr 1999
Thanks John. I'll try it!
------------------
ArtsNFlies.com
"It's not really a flyfishing shop, more like a Martha Stewart goes fishing thing!"
Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!
Come see what everyone is talking about!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.