Click to See Complete Forum and Search --> : non-underlined links


fpm_ie
10-06-2005, 04:21 AM
Hi everyone.
I'm a newbie here, hope my question isn't toooo simple!

Well it is I guess, but its been bugging me a lot. I'm writing simple html, no css or anything. How do I make my text links appear without an underline? I've seen it on sites, but when I look at their sourcecode, I can't see anything obvious. Maybe its actually really difficult?

Thanks in advance...
FP

ForeverIrise
10-06-2005, 04:30 AM
Not sure how this can be done WITHOUT CSS. You can put the CSS in the <style> tag within an html file. Give this a try:

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

Put that inside the head and I think it should work.

Edit:

I should be telling you to get in the habit of linking your CSS to your HTML file, it is more practical. You would do that by making a new .css file. Put

a {text-decoration: none;}

and in your HTML file put

<link rel="stylesheet" type="text/css" href="PATH_TO_FILE.css" >

That should be put inside the <head> tag. Don't begin a bad habit 8]

LiLcRaZyFuZzY
10-06-2005, 04:37 AM
here you might want to learn some basic css
http://www.w3schools.com/css/default.asp