Topic: How to align centrally on a page?

I have this

   
    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
    simpleviewer.ready(function () {
        simpleviewer.load('sv-container', '80%', '80%', 'transparent', true);
    });
    </script>
   
   
<div id="sv-container"></div>
   
See here :

http://www.boiledsweets.com/music/guita … /index.php

But note the simple view is over to the left, how can I get it to be centered on the page without setting the width to 100% as I want it 80% width.

I've tried putting in in a <div> with align="center" and in a table cell with align center but its ALWAYS aligned left on the page and it's driven me nuts!

MANY THANKS!!!

Last edited by dweezil (2012-02-02 17:48:53)

Re: How to align centrally on a page?

Seek and ye shall find!

http://www.simpleviewer.net/forum/viewt … p?id=14073

Thanks for such a great widget SV!

Re: How to align centrally on a page?

I'm glad you have solved your problem. Thank you for posting back to let us know (and thank you for searching the forum to find a solution).

Steven Speirs
SimpleViewer Support Team.