CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Neat Trick-How do they do that?
edwinmerced
Permalink to comment
#
December 2009
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
tomwalters5678
Permalink to comment
#
December 2009
Using code like this that can be applied to an object:
http://css-tricks.com/snippets/css/abso ... -an-image/
edwinmerced
Permalink to comment
#
December 2009
Thanks Guys!! Awesome Help. Thanks CSS Tricks for providing the scenery for learning!
Att.,
Edwin
AshtonSanders
Permalink to comment
#
December 2009
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%:
<object id=\"flash\" width=\"100%\" ...
Enjoy,
Add a Comment
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
http://css-tricks.com/snippets/css/abso ... -an-image/
Att.,
Edwin
On default, a flash animation will remain centerred, so all they did was make the width of the object 100%:
Enjoy,