You really want to look at positioning the DIV which the Flash content gets
written into. The normal way is to create a "wrapper" div which you
position, as the alternative content div is replaced with a <object> tag for
your swf.

Unfortunately, we don't really have time to work through issues which are
not directly related to the swfobject library itself, so Google will be your
friend on CSS positioning.

Aran

On Wed, Sep 16, 2009 at 12:00 PM, Kunli <[email protected]> wrote:

>
> Hello, I'm developing my own Flash website as a hobby thing, and
> decided to use SWFObject. I know next to nothing about HTML, CSS,
> JavaScript, or ActionScript. All I can do is spend time copying and
> pasting code I find and see what works. :-D
>
> So I followed the instruction in the FAQ to center my Flash, and it
> works perfectly. However, I would also like to make it center
> vertically, so I used "vertical-align:middle;" next to "text-
> align:center;" in the CSS, but it seems to have no effect. I am using
> Dynamic Publishing. So how would I vertically center the Flash?
>
> The test site:
>
> http://www.7webs.com/kunli/site/cs3/#
>
> Warning, the bright clashing colors I use to test might hurt eyes ;-)
> >
>

--~--~---------~--~----~------------~-------~--~----~
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