37 users online (0 members and 37 guests)  


  Results 1 to 2 of 2
  1. #1
    svoltmer's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    9

    Question Nested "classes" ?

    I am trying to get all my text links to have the same attributes of one class, but at the same time I want one of the links to have different a:active and a:hover colors. When I try to have nested a <a class="bla..> within a <div class="bla..> Netscape only applies the outer class. What can I do?

    Here is my page:
    http://www.home.earthlink.net/~svoltmer/

    It is the links to the left with the home link being the nested one.

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Contextual selectors should look like -
    Code:
    .divClass a:hover {
    blah
    }
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread