[HTML/CSS]*Press trough images

Discussion in 'iOS Programming' started by Danneman101, Feb 13, 2009.

  1. Danneman101 macrumors 6502

    Aug 14, 2008
    This is more of an html/css-question, but its supposed to be used in a uiwebview, so...

    I have a png-bild with a transparent bakground, that is places above a link.

    The link is still visible thanks to the image's transparent background, but it doesnt register when I press it.

    Is there a css-property or something for the <img>-tag that allows me to manipulate objects below the image? Kind of a "press-trough: allowed;" type of thing?
  2. jnic macrumors 6502a

    Oct 24, 2008
    Not to my knowledge. Could you not just place the link above the image using CSS z-index, or make the image itself a link?
  3. Danneman101 thread starter macrumors 6502

    Aug 14, 2008
    The z-index did not work for this, so I made the image into a background-image instead - seemed to be the easiest thing to do :)

Share This Page