How do I change the color of my links?

  • Profile Image
    garyforbes
    Asked on March 22, 2011 at 10:38 PM

    Hello, I read your thread on changing colors of links in the CSS section, but I'm not understanding it.

    Perhaps you could provide a brief code example of: "new link, active link, visited link" combination in CSS so that we non-programmers could easily change the link colors using #000000 format?

    That would be helpful. Thanks, G

  • Profile Image
    NeilVicente
    Answered on March 22, 2011 at 10:51 PM

    Hi Gary,

    Here are all link css codes that can be customized

     

    .form-all a {

    text-decoration: none;

    color: #000000;

    }

     

    .form-all a:hover {

    text-decoration: none;

    color: red;

    }

     

    .form-all a:visited {

    text-decoration: none;

    color: green;

    }

     

    .form-all a:active {

    text-decoration: none;

    color: blue;

    }

     

    Colors can either be hex codes (#000000) or color names (blue, light gray)

    Html Color Codes

    Html Color Names

  • Profile Image
    garyforbes
    Answered on March 22, 2011 at 11:17 PM

    Perfect Again! Thanks Neil. - G

  • Profile Image
    NeilVicente
    Answered on March 22, 2011 at 11:21 PM

    You're welcome Gary. Do take note, however, that all links within your form are affected by those codes.