#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    England
    Posts
    32
    Rep Power
    11

    Angry Problems with CSS


    Iv designed a template for a project which contains many links. Each link is set to a class from the css. All i what to do is when the link is active i want to change the apperance to a header look.

    the class of the link is ::SideMenuLink::

    and im using .SideMenuLink: Active in the style sheet: but im gettin no effect. Can anyone help me or show me an example that will do the tick.. I cant work out why its not workin

    Cheers
    <NO DONT LOOK AT ME!>
  2. #2
  3. Cunning Linguist
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2003
    Location
    I used to live at home, now I stay at the house
    Posts
    10,180
    Rep Power
    2039
    Try using it like this...
    Code:
    <style type="text/css">
    .SideMenuLink A:active{color:blue;text-decoration:none;font-weight:bold;font-size:20px;}
    .SideMenuLink A:link{color:red;text-decoration:none;font-size:10px;}
    </style>
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    England
    Posts
    32
    Rep Power
    11
    That works great thanks.
    <NO DONT LOOK AT ME!>

IMN logo majestic logo threadwatch logo seochat tools logo