All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Centering Flash Object

  • # October 5, 2011 at 1:36 pm

    Is there another way to center a Flash object other than creating a div with align=”center”? I’ve tried setting it as a block element, defining it’s width and adding “margin:0 auto” but it puts some mysterious top margin or something on it so I had to use a inclosing div align=”center” instead. Thanks for any help.

Viewing 1 post (of 1 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