...

View Full Version : Resolved FF Problem - linking WHOLE pic



CaptainB
04-10-2009, 05:08 PM
Hi,

I have this code which displays an image:


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/

abduraooft
04-10-2009, 05:38 PM
Try

#date {/*style.css (line 25)*/
position:absolute;
right:35px;
top:0;
}

PS:


<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.

<img id="date" src="date.php"/>

CaptainB
04-10-2009, 05:51 PM
Worked - and yes, unnessecary div - it's gone now :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum