hyperlink an area

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pieandpeas
    New Member
    • Sep 2007
    • 43

    #1

    hyperlink an area

    Hi,
    i have a page made up of images within a table, set as backgrounds.

    in front of the different images on the page there is text.

    How can i hyperlink the area relative to the size of the image, even if the text showing infront of the image, and the image is a background.

    for example

    its a square image, set as a background, which is colour and pattern.
    there is text shown within this image.

    - basically i want to know if its possible to hyperlink these background images.. including the text in the foreground.

    any help would be great. thanks
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    [html]
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title></title>
    <style type="text/css">

    </style>
    </head>
    <body>
    <table>
    <tr>
    <td style="backgrou nd-image:url(1.png );height:100px; width:100px">
    <a style="display: block;height:10 0px;width:100px " href="#">hello</a>
    </td>
    </tr>
    </table>

    </body>
    </html>
    [/html]

    Comment

    Working...