Click to See Complete Forum and Search --> : hyperlinks?


charlie1
07-20-2003, 12:44 PM
Hello all.

Just signed up to the forum and was hoping someone could help me out.

I'm in the process of learning html to build myself a homepage and I was wondering if it is possible to create a hyperlink without having it underlined?

pyro
07-20-2003, 12:53 PM
Yes, with css:

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

Khalid Ali
07-20-2003, 12:53 PM
ad the following in the head section of your HTML page

<style type="text/css">
a{text-decoration:none;}/*removes the default underline from all the links*/
a:hover{text-decoration:underline;}/*displays the underline on all the links at mouse over*/
</style>

Khalid Ali
07-20-2003, 12:54 PM
LOL pyro...

Rick_Garrison
07-20-2003, 03:03 PM
You don't even need any CSS stuff- just put in the HEAD of your document:

<style fprolloverstyle>a{text-decoration:none}A:visited {text-decoration: none} A:active {text-decoration: none;} A:hover {text-decoration: none}
</style>

Read the above reply's to see what each one does.;)

pyro
07-20-2003, 04:19 PM
First of all, that is still CSS, just with some crappy type definition (or whatever fprolloverstyle is...). Use either Khalid's or my method...

Minou
07-20-2003, 04:24 PM
Go to Lissa Explains (http://www.lissaexplains.com). It's for kids, I don't know if you're an adult or not but it really doesn't matter. Anyway. Go to the CSS section and you'll find out how to customize things like that.