Give help. Get help.

  • # January 8, 2013 at 8:57 am

    I tried the below code for a link,

    p.visited a:visited {
    text-decoration: none;
    border: 1px solid #ccc;
    background-color: orange;
    color: #069;

    But the link changed only its color, but not the rest of the properties, why is that?

    # January 8, 2013 at 3:34 pm

    The :visited selector is used to select visited links. In your css, only the class a:visited is valid.

    # January 10, 2013 at 8:25 am

    It’s because of some privacy related issues. It’s only possible to change different color parts for :visited. See here for more info

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.