Results 1 to 3 of 3

Thread: multiple a:link style

  1. #1
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default multiple a:link style

    I'm looking to add a second css a:link/hover/visited style to a div section on a website footer so that they have a different style from the main site.

    How would go about this?
    thanks
    Last edited by neilkw; 04-03-2006 at 07:18 PM.

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by neilkw
    I'm looking to add a second css a:link/hover/visited style to a div section on a website footer so that they have a different style from the main site.
    Use a descendent selector:

    Code:
    #footer a:link {
      /* ... */
    }
    /* etc. */
    HTML Code:
    <div id="footer">
      <!-- ... -->
    </div>
    Mike

  3. #3
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    just the job. cheers

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •