Topic: Background image centered on the page

I want the background image to be centered (the width, not height) on the page.
Is this possible? because it looks ugly on a big cinema display screen or a 1024x768 px screen.

Thanks

Last edited by rickvanzuylen (2012-12-09 14:00:18)

Re: Background image centered on the page

If you wish to horizontally center the main image within the gallery's image area, set imageHAlign="CENTER" in your gallery's XML file.
If using svBuilder-Pro to create or edit your gallery, the imageHAlign configuration option can be found in the 'Customize -> Main Image' section.

If you wish to horizontally center the entire gallery within your web page, then replace:

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

... in your gallery's embedding code, with:

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