Do a search of the lists. This was asked a few days ago.

Aran

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Thursday, 12 February 2009 10:20 PM
To: SWFObject
Subject: Center flash


Hi,
I'm trying to center my movie in HTML. I got to center vertically, but
not horizontally. This is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
        <head>
                <title>Block level element centering example</title>
                <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
                <style type="text/css" media="screen">
                        body { margin:0; text-align:center;
background-color:#2c0201; }
                        div#content { text-align:left; }
                        object#content { display:block; margin:0 auto; }
                </style>
                <script type="text/javascript" src="swfobject.js"></script>
                <script type="text/javascript">
                        swfobject.embedSWF("loader.swf", "content", "1024",
"634", "9.0.0",
"expressInstall.swf");
                </script>
        </head>
        <body>
                <div id="content">Alternative content</div>
        </body>
</html>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to