It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

how to get rid of the underline?

how to get rid of the underline?

Postby dazz_club on Wed Oct 05, 2005 10:12 pm

Hi people,

i dont know if i`ve asked this question before, i`ve tried looking for it but i cant find it.

does anyone know the code to get rid of the underline of a hyperlink?

cheers
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby Phate on Wed Oct 05, 2005 11:47 pm

You can use this snippet of CSS

Code: Select all
<style type="text/css">
<!--
a:link {
   text-decoration: none;
}
a:visited {
   text-decoration: none;
}
a:hover {
   text-decoration: none;
}
a:active {
   text-decoration: none;
}
-->
</style>
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby ReFredzRate on Thu Oct 06, 2005 4:03 am

Try putting this around your hyperlink:

Code: Select all
<U><A HREF="hyperlink"></U>
ReFredzRate
1000+ Club
 

Postby dafunkymunky on Fri Oct 07, 2005 11:03 am

Refresh your self refredzrate...he wants the underline to disappear from the hyperlink and not underline it....i think phate's solution is reght.....but where is this solved tag?? ...i've never seen it on any post recently...
--------DAFUNKYMUNKY--------
::THE::NECESSARY::[D]EVIL::
....errr i mean munky....
User avatar
dafunkymunky
100+ Club
 
Posts: 183
Joined: Fri Apr 08, 2005 7:32 am
Location: India

Postby ReFredzRate on Fri Oct 07, 2005 6:13 pm

Ah wtf.... Sorry mate. I'm a bit confusadizzle at the moment. =/
ReFredzRate
1000+ Club
 

Postby Kotik on Fri Oct 07, 2005 6:14 pm

dafunkymunky wrote:Refresh your self refredzrate...he wants the underline to disappear from the hyperlink and not underline it....i think phate's solution is reght.....but where is this solved tag?? ...i've never seen it on any post recently...


I remember Razz telling he removed it because there was no major usage of it or something.
DEVPPL : News Publisher
User avatar
Kotik
1000+ Club
 
Posts: 1086
Joined: Mon Aug 23, 2004 12:25 am
Location: Sweden

Postby Tomi on Sat Jul 22, 2006 1:07 pm

i dont know code but if u r using dreamweaver cant you just go to page properties and change weather links are underlined or not ?
User avatar
Tomi
500+ Club
 
Posts: 925
Joined: Mon Jun 26, 2006 6:51 pm
Location: Essex, England

Postby dazz_club on Sat Jul 22, 2006 4:39 pm

im assuming that will just change dream weavers default settings and im really after the code . As i may want it to appear on a next site and i will then have to do that again.

ive got the code now , so no worrys.

cheers.
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull

Postby C@L on Sat Jul 22, 2006 8:10 pm

this might not be the code you have but itl be the easiest :) ...

Code: Select all
<a href="http://yousite.com" style="text-decoration:none;">LINKY</a>
Image
User avatar
C@L
250+ Club
 
Posts: 445
Joined: Fri May 13, 2005 6:36 pm
Location: Lpool, England

Postby johneva on Sat Jul 22, 2006 9:35 pm

Guys and gals the right answer has already been said by Phate.

CSS is the best way of doing this and Phate gave the right answer first time it rather an easy thing to do and I am supprised by some of your answers to be fair.

Come on Cal you know CSS and inline styles are not the way to go.
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Next

Who is online

Users browsing this forum: No registered users and 8 guests