Support » Fixing WordPress » Wrap text around I-frame?

  • Hello,

    I’m able to insert an Amazon I-frame into my posts, but it has no word-wrap capabilities. I’d like to be able to align them to the right and have text wrap around the object. How can I accomplish this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter avatarati

    (@avatarati)

    Wow this forum gets a lot of visitors…my post already on page 3! Anyone have a solution? 🙁

    can you post a link to the post with the amazon iframe?

    is that done with a plugin?

    to influence the alignment, you would general need a css class around the element.

    Thread Starter avatarati

    (@avatarati)

    oh, sorry it took so long to reply.

    The post I’m trying to get it to work on currently is the first post on http://www.mybestcosmetics.com currently. One of my projects.

    The Amazon I-frame is all the way at the bottom of the post. Trying to put it inside the post actually, aligned right and having text wrap around it so it flows more naturally.

    Thanks for responding alchymyth. There’s a class I can insert into my style sheet to handle these objects?

    You can add float:left;margin-right:10px; or float:right;margin-left:10px; into

    .iframe-wrapper{ } in your css.

    Put the iframe before the text you want to start wrapping

    <div style="clear:both;"></div> is one way to stop the wrapping after some text, say before the next underline header if you want that on a new line.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrap text around I-frame?’ is closed to new replies.