homepage Welcome to WebmasterWorld Guest from 54.166.159.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Removing Underlines from Links
Using CSS! HOW?
Bendy

10+ Year Member



 
Msg#: 419 posted 3:57 pm on Mar 20, 2003 (gmt 0)

I know ya have to use CSS (and know how to edit css) but dunno where to specify the fact I do not want my links to underline! (oh yeah - I'm using Dreamwweaver 4)

Any help would be greatly appreciated!

Thanks

 

martinibuster

WebmasterWorld Administrator martinibuster us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 419 posted 4:03 pm on Mar 20, 2003 (gmt 0)

Apply it to the anchor <A> tag.

tigger

WebmasterWorld Senior Member tigger us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 419 posted 4:05 pm on Mar 20, 2003 (gmt 0)

you have to specify

text decoration : none

eg.
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #CC0033;
text-decoration: underline;
}

This is done by ticking the box on the Type panel in the css editor within DW

kyr01

10+ Year Member



 
Msg#: 419 posted 4:08 pm on Mar 20, 2003 (gmt 0)

This will remove the underlining if inserted in your EXTERNAL style sheet (color and background may be changed to whatever you like):
a:link { color: blue; text-decoration:none; background-color: transparent; }
a:visited { color: purple; text-decoration:none; background-color: transparent; }
a:active { color: hotpink; text-decoration:none; background-color: transparent; }
a:hover { color: hotpink; text-decoration:none; background-color: transparent; }

I don't think it is a great idea, by the way, since most people are really used to underlined links and may not recognize them if you use a different style. Be careful!

JamesR

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 419 posted 6:59 pm on Mar 20, 2003 (gmt 0)

Don't know if you are doing this but I wouldn't use it as a method to hide links from viewers but get them indexed by the search engines.

George

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 419 posted 7:38 pm on Mar 20, 2003 (gmt 0)

I took this risk about 10 months ago, and have never had a complaint from my customers.
It struck me that most people were reasonably intelligent, and if I made it otherwise obvious, there would be no problems. All my links are without underlines.
I do not think there were/are problems! Hard to tell, but the new site, with many other changes doubled the sales.

George

kyr01

10+ Year Member



 
Msg#: 419 posted 8:35 pm on Mar 20, 2003 (gmt 0)

Oooops, it seems we didn't notice you just made your first post on this board. Welcome to WebmasterWorld, Bendy!

Mohamed_E

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 419 posted 10:14 pm on Mar 20, 2003 (gmt 0)

> I don't think it is a great idea, by the way, since most people are really used to underlined links and may not recognize them if you use a different style. Be careful!

I wonder how clear the following scheme will be to users:


a {
color:#09c;
text-decoration:none;
font-weight:600;
font-family:verdana, arial, helvetica, sans-serif;
}
a:link {color:#09c;}
a:visited {color:#07a;}
a:hover {background-color:#eee;}

I like the appearance, and the links (normal text is black) seem to me to stand out clearly. Comments and experience much appreciated.

Bendy

10+ Year Member



 
Msg#: 419 posted 10:02 am on Mar 21, 2003 (gmt 0)

Thanks for all your feedback fellas - - - I agree with the point that most punters are used to links being underlined - but because I come from a design background I've got other plans on how to make it blatantly obvious that a link exists!

Thanks once again.

lwalper

10+ Year Member



 
Msg#: 419 posted 3:57 pm on Mar 25, 2003 (gmt 0)

I'm a newbie here (first post) but fairly familiar with HTML. Have built a few sites with FrontPage but looking for "more, better" stuff. This topic intrigues me—it looks good and I'd like to incorporate it in one of my sites.

That said, from reading this thread I guess I need to read a bit more about CSS.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved