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
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v2 → 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
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>
SimpleViewer Forum → SimpleViewer-Pro v2 → Background image centered on the page
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.