The page is in quirks mode. That gives browsers license to interpret HTML, javascript, and css in a very loose and idiosyncratic fashion with no regard to standards. So there's no way to predict with certainty what a given markup, script or style will do in any given browser. In addition there are other scripts on the page. One or more of these may be interfering. I found that the viewer worked OK-ish in my Chrome. The first time it loaded to the left. After that, if I dismissed it and opened it again it was centered. The loading and close images where in the upper left of the page at first.
I do see this in the source code:
Code:
<link href="http://www.slimlinewarehouse.com.au/CSS_01.css" rel="stylesheet" media="screen">
<script src="http://www.slimlinewarehouse.com.au/DHTML/imgThmbnail/thumbnailviewer.js" type="text/javascript">
/***********************************************
* Image Thumbnail Viewer Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/</script>
<link rel="stylesheet" href="http://www.slimlinewarehouse.com.au/DHTML/imgThmbnail/thumbnailviewer.css" type="text/css">
</head>
That should be:
Code:
<link href="http://www.slimlinewarehouse.com.au/CSS_01.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="http://www.slimlinewarehouse.com.au/DHTML/imgThmbnail/thumbnailviewer.css" type="text/css">
<script src="http://www.slimlinewarehouse.com.au/DHTML/imgThmbnail/thumbnailviewer.js" type="text/javascript">
/***********************************************
* Image Thumbnail Viewer Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
</head>
Notice that the stylesheet is now before the script and the closing script tag is below the script comment. I tried it here and it fixed it.
The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks