Wrapping text around an iframe?

5 replies
  • WEB DESIGN
  • |
Basically I want to add some text before and after an iframe. I can get the text to appear after the iframe, but when I try to put text before the iframe for some reason it's not showing up. Any suggestions is appreciated.

Thanks
#iframe #text #wrapping
  • Profile picture of the author Brandon Tanner
    What's the URL?
    Signature

    {{ DiscussionBoard.errors[7962197].message }}
    • Profile picture of the author thecableguy
      That's okay I got it. Just added the <b> tag and the text appeared.

      Thanks
      {{ DiscussionBoard.errors[7962295].message }}
      • Profile picture of the author Brandon Tanner
        <b> means make the text 'bold', which has nothing to do with the text appearing or not, so something weird is going on with your code. Will be glad to take a quick look at the page if you want.
        Signature

        {{ DiscussionBoard.errors[7962475].message }}
        • Profile picture of the author thecableguy
          Here's the code I used:

          <iframe src="put your complete affiliate URL here" width="100%" height="2200" frameborder="0" marginheight="0" marginwidth="0">
          <p>Click <a href="put your complete affiliate URL here">here</a>! (Your browser does not support iframes)</p>
          </iframe>

          and also the one for amazon's aStore.

          Strange that both didn't allow me to add text before the iframe. I used <br>, but it worked. Could've been that I'm use Kompozer to edit the page, but it hasn't happened before I think.

          Anyway it's working.

          Thanks

          Originally Posted by Brandon Tanner View Post

          <b> means make the text 'bold', which has nothing to do with the text appearing or not, so something weird is going on with your code. Will be glad to take a quick look at the page if you want.
          {{ DiscussionBoard.errors[7964049].message }}
  • Profile picture of the author yukon
    Banned
    Wrapping text around an iframe?
    Put the iframe in a <div> then float the <div>.
    {{ DiscussionBoard.errors[7963615].message }}

Trending Topics