Results 1 to 2 of 2

Thread: browser display problem for thumbnail viewer 2

  1. #1
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default browser display problem for thumbnail viewer 2

    1) Script Title:thumbnail viewer 2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •