:) My pleasure..
Best,
Karl
On Feb 16, 2011, at 7:24 AM, Cor wrote:
That did the trick!!!
Thanks Karl.
regards,
Cor
-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: woensdag 16 februari 2011 14:19
To: Flash Coders List
Subject: Re: [Flashcoders] How to center my Flash in SWFOBJECT?
Hi Cor,
Try this..
<style type="text/css">
body { text-align:center; width:100%; height:100%; }
div#flashContent {
width:auto; height:auto; } </style>
or this if you want it centered vertically
<style type="text/css">
body { text-align:center; vertical-align:middle; width:100%; height:
100%; }
div#flashContent { width:auto; height:auto; } </style>
HTML-------------
<body>
<div id="flashContent">
SWFOBJECT
</div>
</body>
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders