Click to See Complete Forum and Search --> : Un-underline URLs


bryce
10-12-2007, 08:03 AM
Whenever I am adding a URL on a page, but I don't want it to be underlined, I can't get it to work...

How do I UN-underline a URL? (whilst putting the code in my top <body> tag so it applies to the whole page).



-----
Bryce

Ahmed Tohamy
10-12-2007, 08:47 AM
put this code at your external css file or at <head> code

<style type="text/css">
a{text-decoration:none;}
</style>

dtm32236
10-12-2007, 09:03 AM
if you dont want it done to EVERY link, you could do:

<style type="text/css">
a.nounderline{text-decoration:none;}
</style>
in the head

and
<a href="page.html" class="nounderline">page</a>
in the body

or, you can just do it like this, without the <style type="text/css">:
<a href="page.html" style="text-decoration:none;">page</a>