The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Neat Trick-How do they do that?

  • # December 1, 2009 at 9:00 am


    I would like to have my flash movie always horizontally centered (depending on the browser size)-just like on this site:

    Can understand the code there :|

    My site is:

    Thanks for any help…



    # December 2, 2009 at 4:07 pm

    Using code like this that can be applied to an object: … -an-image/

    # December 3, 2009 at 4:02 pm

    Thanks Guys!! Awesome Help. Thanks CSS Tricks for providing the scenery for learning!



    # December 3, 2009 at 5:02 pm

    Although that’s a very useful link, I’m pretty sure that isn’t how that flash is staying centered…

    On default, a flash animation will remain centerred, so all they did was make the width of the object 100%:



Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed