Wrapping text around image

Discussion in 'HTML & Website Design' started by GPS Mapper, Sep 8, 2006.

  1. #1
    I haven't had any trouble with this elsewhere, but I can't get the text to wrap around an Amazon Associates image. Here's the code:

    <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&amp;path=ASIN/B0002JUH3O&amp;tag=XXXXXXXXXXX&amp;camp=1789&amp;creative=9325"><img border="0" src="http://gpstracklog.typepad.com/B0002JUH3O.01._AA_SCMZZZZZZZ_.jpg" /></a><img width="1" height="1" border="0" src="http://www.assoc-amazon.com/e/ir?t=XXXXXXXXXXXX&amp;l=as2&amp;o=1&amp;a=B0002JUH3O" style="border: medium none ! important; margin: 0px ! important;" /> Start text to wrap around image

    I tried adding float: left; at the end. I also tried align="left". Neither worked. What do I need to do and where do I put it?
     
    GPS Mapper, Sep 8, 2006 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Try:
    <div style="float:left;">
    <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&amp;path=ASIN/B0002JUH3O&amp;tag=XXXXXXXXXXX&amp;camp=1789&amp;creative=9325"><img border="0" src="http://gpstracklog.typepad.com/B0002JUH3O.01._AA_SCMZZZZZZZ_.jpg" /></a><img width="1" height="1" border="0" src="http://www.assoc-amazon.com/e/ir?t=XXXXXXXXXXXX&amp;l=as2&amp;o=1&amp;a=B0002JUH3O" style="border: medium none ! important; margin: 0px ! important;" /> </div>Start text to wrap around image
     
    mjewel, Sep 8, 2006 IP
    GPS Mapper likes this.
  3. GPS Mapper

    GPS Mapper Peon

    Messages:
    267
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Man, I do love DP! Thank you so much mjewel. Gave you a nice repuation click for that one! Hey, I see you're in the neighborhood.
     
    GPS Mapper, Sep 8, 2006 IP