Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Neat Trick-How do they do that?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27008
    edwinmerced
    Member

    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

    #67415

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

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

    #67465
    edwinmerced
    Member

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

    Att.,

    Edwin

    #67467
    AshtonSanders
    Participant

    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)
  • The forum ‘CSS’ is closed to new topics and replies.