Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 980   Yesterday: 1,235   Max: 1,872   Total: 481,957   Current Users : 27 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Links That Aren't Underlined

Before we discuss how to set links so that they aren't underlined, it's worth considering for a moment if it's really such a good idea. Users of visual browsers such as MSIE and Netscape have their eyes trained to spot links by the underline. If you take away those underlines you're more likely to confuse your readers than to enhance the page. Still, there are a few situations where it makes sense to take out the underlines. For example, if your page is practically nothing but links then it is less visually crowded without the underlines. Before you set the links to have no underline, try it out first as normal, then decide if it's really improved by changing it to something that your readers don't expect.

To remove the underlines from all links, put this code in the <HEAD> section of the document:

this code produces this
<STYLE TYPE="text/css">
<!--
A {text-decoration:none}
-->
</STYLE>
this page

If only a part of your document should be without underlines in the links use a styles class. Use the same code as above, but add .nounderline before the A:

<STYLE TYPE="text/css">
<!--
.nounderline A {text-decoration:none}
-->
</STYLE>

Then you can use the class in any section of the document. For example, this code uses <DIV ...> and the nounderline class:

<DIV CLASS="nounderline">
<UL>
<LI><A HREF="nounexatarget.php" TARGET="_top">this is a link</A>
<LI><A HREF="nounexatarget.php" TARGET="_top">this is another link</A>
<LI><A HREF="nounexatarget.php" TARGET="_top">and this is yet another link</A>
</UL>
</DIV>

which gives us this:



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.