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?
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
Using code like this that can be applied to an object:
https://css-tricks.com/snippets/css/abso … -an-image/
Thanks Guys!! Awesome Help. Thanks CSS Tricks for providing the scenery for learning!
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%:
Enjoy,