8 Replies Latest reply on Dec 4, 2010 10:28 AM by MurraySummers

    How do I make the image to a link?

    Saedalama Level 1

      I am trying to make the image a link. I have the facebook logo position on the left sidebar, but I need to make it a link. Here is my code:

      <div id="sidebar">
      <span style="position: absolute; background: url(images/certificate.png); background-repeat: no-repeat; width: 250px; height: 150px; left: 160px; color:#600;">
      <p style="position: absolute; bottom: 44px; left: 3px; width: 210px; height: 90px; font-size:11px;">
      Alan is a certified Renovation, Repair and Painting Contractor. </p>
      <p style="position:absolute; bottom: -6px; left: 2px; width: 220px; height: 90px; font-size:12px; font-style:oblique; color:#600;">
      Click to see certificate</p></span>
        <span style="position: absolute; background: url(images/facebook_logo.png); background-repeat: no-repeat; width: 250px; height: 150px; top: 420px; left: 160px; color:#600;"></span>
        <p><a target="_blank" href="http://www.facebook.com/pages/WE-SHOW-UP/198687606583?ref=ts%3Cimg%20src="></p>
          <span style="position: absolute; background: url(images/facebook_logo.png); background-repeat: no-repeat; width: 250px; height: 150px; top: 420px; left: 160px; color:#600;"></span>
            <span style="position: absolute; background:url(images/BBB.png); background-repeat: no-repeat; width: 250px; height: 150px; top: 500px; left: 160px; color:#600;"></span>

       

      </div>

       

      Something went wrong here, because the whole right side became the link, but the facebook logo is not working.

       

      Here is the image.Screen shot 2010-12-01 at 11.41.08 PM.png

       

      Thanks!