Forums

[resolved] styling YouTube object (4 posts)

  1. bricksmith
    Member
    Posted 1 year ago #

    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

  2. zoonini
    help me help you
    Posted 1 year ago #

    Try

    object, embed {
    float: right;
    }
  3. bricksmith
    Member
    Posted 1 year ago #

    Thanks for responding, zoonini! I ended up using:

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

    and that worked.

  4. zoonini
    help me help you
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic