Is there any fix to this CSS?

Discussion in 'CSS' started by isabellablake, Dec 9, 2011.

  1. #1
    Hi there, I finally got an active state on my site so it stays a certain colour so long as you are on the page. However if you change pages the menu moves. E.g. It's fine when you click About Me (the first in the row) but if you click Social (3rd in the row) everything moves. Below is my CSS

    body#about #about a,
    body#blog #blog a,
    body#social #social a,
    body#contact #contact a {
    padding:0px;
    background:none;
    margin-right:0px;
    color:#2061f3;
    text-decoration:underline;
    }

    Is there any way to prevent this movement so when you click on any of the pages they stay where they are?

    Cheers
     
    isabellablake, Dec 9, 2011 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    Yes .
     
    drhowarddrfine, Dec 9, 2011 IP