Kristen (kritof) wrote in webtech,
Kristen
kritof
webtech

2 different link styles????

I want my page to have two different looking links. For simplicity, let's just say I want half of them to be blue and underlined and the rest to be red and not underlined. I don't know how to set up two distinct url styles.

My current in-page CSS (to make the links red and not underlined) looks like this:

[STYLE TYPE="text/css"]
[!--
a:link {text-decoration: none; color: red;}
a:active {text-decoration: none; color: red}
a:visited {text-decoration: none; color: red}
a:hover{text-decoration: none; color: red}
--]
[/STYLE]

***where ] and [ mean > and
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments