Web Analytics Made Easy -
StatCounter FF Problem - linking WHOLE pic - CodingForum

Announcement

Collapse
No announcement yet.

FF Problem - linking WHOLE pic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Resolved FF Problem - linking WHOLE pic

    Hi,

    I have this code which displays an image:

    PHP Code:
    echo '<a href="index.php?id=home"><img src="' $folder '/' $image '" alt="' .Header'" /></a>'
    I want the image to be linked to the URL in the link above. However, when the page is viewed in FF only the BOTTOM of the image is linked - how come??? It works in IE7.

    http://behrentzs.com/new1/
    Last edited by CaptainB; Apr 10, 2009, 11:51 AM.

  • #2
    Try
    Code:
    #date {/*style.css (line 25)*/
    position:absolute;
    right:35px;
    top:0;
    }
    PS:
    Code:
    <div id="date"><img id="date" src="date.php"/></a>
    I'd say that you've some divitis, since the following is enough to work with the above CSS.
    Code:
    <img id="date" src="date.php"/>
    Last edited by abduraooft; Apr 10, 2009, 11:56 AM.
    Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

    Comment


    • #3
      Worked - and yes, unnessecary div - it's gone now

      Comment

      Working...
      X