TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   XHTML, HTML, CSS (http://www.talkphp.com/xhtml-html-css/)
-   -   Basic image link problem. (http://www.talkphp.com/xhtml-html-css/2505-basic-image-link-problem.html)

Nor 03-22-2008 02:20 AM

Basic image link problem.
 
Gasmoney Media - California Web Design | Search Engine Optimization | Website Development

For some reason in firefox, if I put a link around the image (thumbnail image)[http://www.gasmoneymedia.com/images/seomodz.png] It doesn't want to parse right. So I had to go into the middle of the thumbnail image and move my mouse up to find the image link to be able to click it, in IE this works fine. XHTML validated and all. How can I fix this? (In other words, I'm only able to click on the top border of the image and not the rest of the image to view the link, I need help fixing this problem).

Devels 03-22-2008 08:55 AM

The 'div': <div class="img">, that is after thumbs, is wrong positioned, in this case: relative. Remove relative, give it:
clear left;
margin: 3px 0 0 0;
And you are done! :)

Nor 03-23-2008 08:10 PM

Thanks, but it didn't have any effect in FF2, so I just used a regular table instead.

Devels 03-23-2008 08:25 PM

Quote:

Originally Posted by Nor (Post 12679)
Thanks, but it didn't have any effect in FF2, so I just used a regular table instead.

I have tested it in realtime using Firebug: https://addons.mozilla.org/nl/firefox/addon/1843

Maybe you find that interesting.

Nor 03-24-2008 04:16 PM

I hate firebug, never helps me, but then again you never know.

Gareth 03-25-2008 05:05 PM

Do you still need help on this, mate? It looks like its working now! :)

Nor 03-25-2008 05:29 PM

Quote:

so I just used a regular table instead
I replaced he div's with a table. Don't need any help with this any more.

Orc 03-25-2008 07:57 PM

Watch out for Cache Control, I hate that, and when I delete my caches, when refreshing it shows the results.


All times are GMT. The time now is 03:57 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0