• Resolved bricksmith

    (@bricksmith)


    I’m trying to get all of the youtube videos on my site to align to the right, with text wrapping around the left. Looks fine in FireFox, but not IE8. Here’s what I’m using:

    object {
    text-align: right;
    }

    I’ve also tried

    object {
    float: right;
    }

    Neither has worked. Any suggestions?

    Here’s a link to the site:

    http://www.kbcdevelopment.com/moreforchrist

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Try

    object, embed {
    float: right;
    }
    Thread Starter bricksmith

    (@bricksmith)

    Thanks for responding, zoonini! I ended up using:

    embed {
    float: right;
    padding:15px;
    }

    and that worked.

    Moderator Kathryn Presner

    (@zoonini)

    Sure! I was trying to combine your existing object style with the new embed style to save you a few lines of code. 😉

    If you would please mark this thread as “resolved” (drop-down menu in the right column) it would be appreciated. Helps everyone keep better track of whose issues are still outstanding. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘styling YouTube object’ is closed to new replies.