[SWFObject] How to simply center SWF for all resolutions?

"Jan Kratochvíl, FlashMedia.cz" kratochvil at flashmedia.cz
Thu Jun 1 23:26:13 PDT 2006


How to simply center SWF for all resolutions?

I need to have SWFon the top and horizontal center on the page for all 
resolutions.
I tried to use this CSS style:
#tutorials
{
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: 20px;
}
Its only example I know, that I use exact position for margin-top and left.
Someth. like in HTML <center>my.swf</center>

Thanks



More information about the Swfobject mailing list