phphtmlbrowsercross-browser

Link is not clickable in chrome and opera but in Firefox and IE?


I've a link tag around an image and it's working in IE and Firefox but it doesn't work in Chrome and Opera?

 <div class="gallery">
<a href="index.php?id=1331&no_cache=1&uid=1&mode=s"><img width="172" height="235" src="mi35.jpg"></a>
<div class="title">Mini</div>
</div>

I tried urlencode to no avail:

index.php%3Fid%3D1331%26no_cache%3D1%26uid%3D1%26mode%3Ds

I've removed no_cache=1 and urlencode in my php source code like this to no avail:

urlencode ( str_replace ( "no_cache=1", "", $this->pi_getPageLink ( $GLOBALS [ 'TSFE' ]->id, '',  array ( "uid" => $row [ "UID" ], "mode" => "s" ) )) );


Solution

  • In fact it was a problem in the CSS file and a negative z-index on the surroundig div of the image makes it impossible to click on the link.