WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How can I center an embeded object? (4 posts)

  1. willwoffjr
    Member
    Posted 1 year ago #

    Can someone tell me how to center the embedded flash object on the page below? I copied/pasted the code from the site, and tried to change the code but failed. I don't want to center the page text, just the embedded object.

    http://www.williamwoffordjr.com/sense-of-place/

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Here's a nice guide on centring things with CSS
    http://www.w3.org/Style/Examples/007/center.en.html

    Look out for margin: 0 auto; and display: block; styles.

  3. willwoffjr
    Member
    Posted 1 year ago #

    andrew,
    i found this <div style="display: block;"></div> but not sure what to do with it.

    the article didn't help as i couldn't find anything in the code that mentioned margins. maybe i am missing something. seems like some of this stuff could be so simple, and yet it isn't.

  4. willwoffjr
    Member
    Posted 1 year ago #

    found a different article that helped. i will post it here should anyone else need it.

    http://digitalnature.ro/2012/01/07/how-center-video-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic