Results 1 to 3 of 3

Thread: CSS Element Specificity Problem

  1. #1
    Join Date
    Aug 2007
    Posts
    10
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default CSS Element Specificity Problem

    I'm trying to create an image map using CSS which I have done successfully - but I need the entire background image to change when the user hovers over any part of the page.

    I have this partially working but when a link is triggered the entire page turns into one link and the other parts of the image map stop functioning...

    Here is the link: http://www.studiocreek.com/client/firefly/index2.html

    Please view the source to see both html and css (all validated).

    Any feedback would be appreciated.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There is no image map on that page. Perhaps you would have better luck if you used one.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2007
    Posts
    10
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    I created an image map using CSS absolute positioning and coordinates... you can see the map in the css code here:

    a#store { top: 5px; left:5px; width:640px; height: 112px;}
    a#contact {top:122px; left:477px; width:168px; height:191px;}
    a#exhibition {top:320px; left:231px; width:418px; height:165px;}
    a#press {top:320px; left:5px; width:221px; height:165px;}
    a#about {top:122px; left:5px; width:140px; height:191px;}
    a#home {top:122px; left:150px; width:322px; height:191px;}

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
  •