this style (no underline)

  • Thread starter Thread starter Jen
  • Start date Start date
J

Jen

Do I put the entire script onto my page? it removes
underlines. Thanks= you.

<style>
<!--
/*JavaScript Kit www.javascriptkit.com More scripts here*/
a{text-decoration:none}
//-->
</style>
 
Kill the url reference.

<style>
a{text-decoration:none}
</style>

will do it.
 
Ok when I do that it works fine if I paste it directly on
the page; but now it won't work if I apply it the css?

Why is that? And should I pretty much delete the url
reference on all the scripts? thank you.
 
If it's applied from a css file it
needs to be done differently.

BODY
a{
text-decoration: none;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}

As for the urls, if the url doesn't reference
a function that is creating the effect you want
then remove it.
 
I actually got it working with the first instructions. So n
Thanks. But now should I be doing what you posted below?
 
If you want to create a style sheet that you can apply to
all pages in your web, Yes.
 
Just curious; what happens if I do it the other way; cause
that's how I had it and it appears to work?

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top