Grow your CSS skills. Land your dream job.

Neat Trick-How do they do that?

  • # December 1, 2009 at 9:00 am

    Hello:

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

    http://www.zrii.com/

    Can understand the code there :|

    My site is: http://elmesongallegopr.com/

    Thanks for any help…

    Att.,

    Edwin

    # December 2, 2009 at 4:07 pm

    Using code like this that can be applied to an object:

    http://css-tricks.com/snippets/css/abso … -an-image/

    # December 3, 2009 at 4:02 pm

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

    Att.,

    Edwin

    # 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%:

    Code:

    Enjoy,

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".