Make a hyperlink without under line

liunx

Guest
It should be a simple proccess but for some reason I can't figure out how to make a hyperlink (on text not an image) without the line showing up.... is there a way to do this without having to convert the text to an image?<!--content-->Yes, you use css like this:<br />
<br />
a:link { <br />
text-decoration: none;<br />
}<br />
a:visited { <br />
text-decoration: none;<br />
}<br />
a:active { <br />
text-decoration: none;<br />
}<!--content-->Thanks! I'll do this.<!--content-->If you're going to do that for (almost) every pseudo-class, why not just define it for the entire A element?a { text-decoration: none }<!--content-->Thanks Jeffmott for your reply...<br />
<br />
If it's not to much trouble could you please give me an example for using the words "contact" and "home" in your coding so I can better grasp how to add this coding into my site. I'm not very familiar with using such intense coding - but I learn fast.<!--content-->If you were to include it in the head of your page, e.g.<head><br />
... -> your other head elements<br />
<style type="text/css"><br />
a { text-decoration: none }<br />
</style><br />
</head>then this will affect all links on that page. If you only want this to happen to certain sections of your site then you can do so with classes, e.g.<head><br />
... -> your other head elements<br />
<style type="text/css"><br />
.no-link-decoration a { text-decoration: none }<br />
</style><br />
</head><br />
<br />
<body><br />
<br />
<p class="no-link-decoration"><a href=http://www.webdeveloper.com/forum/archive/index.php/"contact.html">contact</a> | <br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"index.html">home</a></p><br />
<br />
</body><!--content-->Thanks again!<!--content-->
 
Back
Top