Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Bern

macrumors 68000
Original poster
Nov 10, 2004
1,854
1
Australia
I've built a site for a friend and it's really just an image gallery which I use Javascript to create.

The problem is the larger image will only centre provided it's displayed at 1024 x 768 resolution, anything higher and it's askew as in the screen shot below. I changed my MacBook resolution to 1024x768 (stretched and normal) and it still appears askew.

I have been building the site in Windows by the way and it all looks good there on my 17" monitor in Firefox and IE 1024 x 768.

This is the code I'm using to display the thumbs and the larger image:-

var dynimages=new Array()
dynimages[0]=["xxx/xxx/xxx01.jpg", ""]
dynimages[1]=["xxx/xxx/xxx02.jpg", ""]
dynimages[2]=["xxx/xxx/xxx03.jpg", ""]

etc etc etc
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.