WordPress.org

Forums

Side by side HTML in sidebar (9 posts)

  1. Karenxxx
    Member
    Posted 2 years ago #

    Does anyone know how to put two sets of HTML for a add side by side in a text box in the sidebar? I have one for a "Cat senses massage centre" for the Uk and would like to put one next to it (ie not underneath) for the US on my page

    http://carrotsandclaret.com/animal-magic/

  2. Aaron
    Member
    Posted 2 years ago #

    Try

    <div>
    <div class="alignleft">INSERT FIRST CODE HERE</div>
    <div class="alignleft">INSERT SECOND CODE HERE</div>
    </div>
  3. Karenxxx
    Member
    Posted 2 years ago #

    Hi Aaron.. I doesnt seem to have worked, i put that code in but the second ad doesnt appear at all..

  4. Karenxxx
    Member
    Posted 2 years ago #

    I have put all this in the same text box... is that correct?

  5. Michael
    Forum Moderator
    Posted 2 years ago #

    double check what you entered into the textwidget - the first iframe code is not closed properly.

  6. Karenxxx
    Member
    Posted 2 years ago #

    I've tried doing it and redoing it! But the second ad doesnt work (and just appears as code under the first box)... do you know of another way to put the two add side by side in the sidebar/

  7. Aaron
    Member
    Posted 2 years ago #

    Here is what I show you have in there right now.

    <div class="alignleft">
    <iframe scrolling="no" div="" <="" style="width:120px;height:240px;" src="http://rcm-uk.amazon.co.uk/e/cm?t=carrotsandclaret.com-21&o=2&p=8&l=as1&asins=B001LWRHA2&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr">
    </div>

    Put what I suggest in there then I can take a look to see what is wrong. Also your iframe code does not look correct. I would go back to Amazon and copy it again.

  8. Michael
    Forum Moderator
    Posted 2 years ago #

    I've tried doing it and redoing it! But the second ad doesnt work (and just appears as code under the first box)... do you know of another way to put the two add side by side in the sidebar/

    can you post the full code which you entered into the textwidget?

    I don't see any code appearing in the sidebar

    also, be aware that the sidebar is possibly not be wide enough to have two iframes side-by-side.

  9. Karenxxx
    Member
    Posted 2 years ago #

    I think you may be right about the sidebar not being wide enough although if you look at the Amazon 'I recommend' boxes underneath the ads I wanted to put side by side that is what I thought the width of the two ads together would have looked like....

Topic Closed

This topic has been closed to new replies.

About this Topic