image links not working

wizkid

New Member
Messages
25
Reaction score
0
Points
0
this is my webpage
nitesh.x10hosting.com

in the gallery section the thumbnails to the different galleries are working.but the images(thumbnails) in each gallery do not link to the full image.
however this problem occurs only when i access my site through Firefox and Safari and not through IE and Opera
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
The gallery itself is breaking w3c valid html which appears to be causing the problems on my system at least (thumbnails not becoming clickable).

  1. error.png
    Line 170, Column 38: required attribute "src" not specified.<li style="visibility:hidden;"><a><img></a></li>
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
  2. error.png
    Line 170, Column 38: required attribute "alt" not specified.<li style="visibility:hidden;"><a><img></a></li>
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
  3. error.png
    Line 170, Column 42: end tag for "img" omitted, but OMITTAG NO was specified.<li style="visibility:hidden;"><a><img></a></li>
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Those in particular are AFTER the thumbnails though, which confuses me. Theres no reason they're there for one, but ignoring that those shouldn't be causing problems with the rest of the thumbnails.


Theres a bunch of XML failures near the end though which might be causing the problem.

http://validator.w3.org/check?uri=h...matically)&fbc=1&doctype=Inline&fbd=1&group=0

If you can, get the errors fixed and see if the problem stops appearing in Firefox. IE's usually more lax as far as enforcing the standards go, so theres a good chance it's simply ignoring the errors and rendering it how it THINKS it's supposed to look. Firefox on the other hand tends to render it exactly as it's coded, and when theres errors, it doesn't bother fixing them - it figures you coded it how you wanted it to show up...



Hang tight for other user opinions on this though; I'm not entirely positive fixing those errors WILL fix the problem, but it's not a bad place to start in any case.
 

flinx

New Member
Messages
68
Reaction score
0
Points
0
If you go to the right upper angle of the upper three thumbnails, you'll be able to click them. Apparently, something is covering the rest of the thumbnails.
You say it only happens in some browsers, so it's probably a CSS problem. Some element is covering the linked thumbnails in those browsers.
Unfortunately, I'm not expert enough in CSS to tell you what's wrong, but it might have to do with the z-index:3 in #right in layout.css.
 
Last edited:

wizkid

New Member
Messages
25
Reaction score
0
Points
0
If you go to the right upper angle of the upper three thumbnails, you'll be able to click them. Apparently, something is covering the rest of the thumbnails.
You say it only happens in some browsers, so it's probably a CSS problem. Some element is covering the linked thumbnails in those browsers.
Unfortunately, I'm not expert enough in CSS to tell you what's wrong, but it might have to do with the z-index:3 in #right in layout.css.
thanx a lot for that advice. it worked.
actually the p tag containing the next and previous links was covering the images.
 
Top