Topic: Only Centred on Chrome and Safari

Not sure what I'm doing wrong here - but I'm sure it must be something... … ce/photos/

For some reason the above website isn't displaying thumbnails centred in IE, Firefox or Opera (although it's working perfectly in Chrome and Safari).

I'm sure I'm doing something really silly here - but any help would be appreciated in getting it working in the other browsers.

Re: Only Centred on Chrome and Safari

It looks like this is caused by the following code on line 117:

<td height="504" align="center" valign="top">

... specifically the align="center" attribute. Remove this attribute from the line and the gallery should display OK.

Inside this <td> are a <table> and the gallery's <div>.
Try applying the align="center" attribute to only the <table> and then center the gallery by replacing:

<div id="sv-container"></div>

... with:

<div id="sv-container" style="margin: 0 auto;"></div>
Steven Speirs
SimpleViewer Support Team

Re: Only Centred on Chrome and Safari


That worked perfectly - thank you so much for your help Steven!  :)