PDA

View Full Version : browser display problem for thumbnail viewer 2



jeffwanders
04-02-2009, 03:27 AM
1) Script Title:thumbnail viewer 2

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem:
i am having trouble with the formatting of my site using this script in older versions of explorer and safari. it displays fine in the newer versions of these browsers and chrome and firefox. i'm wondering if there is a fix to this problem, though, so it displays correctly in the older version as well.
here is a link to the page.

http://www.bronzehill.com/bathrooms.html
thanks for the help

jscheuer1
04-02-2009, 09:52 AM
Usually I don't suggest this because it is often just a cop out, but in this case I think it applies. Your HTML is so sloppy and non-standard that I'm surprised that the page displays at all in any browser. Validate your code:

http://validator.w3.org/

It is only owing to the automatic HTML error correction performed by a given browser that the code works or displays as intended.

Now, I'm curious, which versions of these older browsers specifically are you talking about?

Also, the code in the td with the thumbnails is particularly bad. All those divisions are useless at best. Few if any of the <a> tags are closed. If you simply were to put only the <a> tags and their images in there, and set the image's margins as desired to get some spacing between them, they should wrap to fit in the td. In Opera they just go off in a straight line to the right, ignoring the confines of the td.

I'm not sure if that's the problem you were having or not. What was the problem in those other browsers?