Topic: Center autoview

Hi to all of you,

I am new and just started working with the autoview player today. Is there a possilbility to center the palyer underneath the header. I tried several things but nothing is happening...
Here my html code:

<div id="content">
     <script type="text/javascript" src="swfobject.js"></script>
      <div id="flashcontent">AutoViewer requires JavaScript and the Flash Player.<a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
      <script type="text/javascript">
           var fo = new SWFObject("autoviewer.swf", "autoviewer", "700", "500", "8", "#000000");                       
              //Optional Configuration
                fo.addVariable("xmlURL", "gallery.xml");                   
                fo.write("flashcontent");   
</script>

and the css:

#gallerie {
        margin-top:auto;
        margin-left:auto;
    }

as mentioned before I tried several settings in the html and also in the css but the position of the gallerie is always the same.

thanks in advance
Joerg

Re: Center autoview

To center the gallery try #gallerie {margin:0 auto; text-align:center;} make sure to clear your cache after making the change.

Mike Richards
SimpleViewer Support Team.

Re: Center autoview

Hi Mike,

thanks for your reply. Just did it as you said (and corrected my own mistake [html=content --> css=[gallerie]) and it still doesn't work...
Any further advises?
Cheers
Joerg

Re: Center autoview

Please post the URL of the page you are having issues with so that we can take a look.

Mike Richards
SimpleViewer Support Team.

Re: Center autoview

Hi Mike,

here we go: http://joerg-schueler.de/

Thanks

Re: Center autoview

You if you set your flashcontent div to margin:0 auto it gets pretty close, another element must be bumping it off center a little.

Mike Richards
SimpleViewer Support Team.