Remove lines under links

liunx

Guest
hi peeps!<br />
<br />
does anyone know how to get rid of lines under links in Dreamweaver (4)?<!--content-->I don't know exactly how to do it in Dreamweaver but you need to use a stylesheet. Put the following code between the <head> tags in your HTML code:<br />
<br />
<style type="text/css"><br />
A:visited {text-decoration: none}<br />
A:link {text-decoration: none}<br />
A:hover {text-decoration: none}<br />
A:active {text-decoration: none}<br />
</style><!--content-->Originally posted by Goldilocks <br />
<style type="text/css"><br />
A:visited {text-decoration: none}<br />
A:link {text-decoration: none}<br />
A:hover {text-decoration: none}<br />
A:active {text-decoration: none}<br />
</style> <br />
This may do the trick too...<br />
<br />
<style type="text/css"><br />
A {text-decoration:none;}<br />
</style><!--content--><htmlite> is absolutely right, if you want no underlining at all than that is a shorter way of doing it.<br />
<br />
The way I did it just allows you to control the different elements of the A tag, so if you wanted you could have it so there is only an underline when you move the mouse over the link, etc.<!--content-->i found a pretty cool site over here:<br />
<br />
<!-- m --><a class="postlink" href="http://pattysite.com/linkstyles1.cfm">http://pattysite.com/linkstyles1.cfm</a><!-- m --><br />
<br />
if anyone else wants to take a look.....<!--content-->
 
Back
Top