Wrapping text around an image - a question

Discussion in 'WordPress' started by LilyUK, Jul 15, 2007.

  1. #1
    Hi all
    I found a thread here where Sarahk suggested using this code to get the text to wrap around a picture on a wordpress blog

    <div style='float: left; margin-right: 10px;'><img></div>

    I inserted the image first on the visual display then went and edited the code using the above. It's working but I've got two extra < > and a dotted line at the bottom of my picture suggesting the code isn't right.

    At the moment the code looks like this (the 'div' tag seems to disappear when I go back in to edit it)

    <p style="float: left; margin-right: 10px">&lt;<a href="http://www.inlovewithlisbon.com/wp-content/uploads/2007/07/birdazulejos.jpg" title="birdazulejos.jpg"><img src="http://www.inlovewithlisbon.com/wp-content/uploads/2007/07/birdazulejos.jpg" alt="birdazulejos.jpg" /></a>&gt;</p>

    Can someone take a look at my blog and let me know what I need to take out to remove these? I can't figure this one out.

    Also does anyone have any experience of using the WYSIWYG plug-in mentioned?

    Thanks!
     
    LilyUK, Jul 15, 2007 IP
  2. Edynas

    Edynas Peon

    Messages:
    796
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should use the html or code editor to edit the code and make sure it's div and delete the &lt; and the &gt;
     
    Edynas, Jul 15, 2007 IP
  3. LilyUK

    LilyUK Peon

    Messages:
    125
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Edynas
    Thanks! That got rid of the < and >
     
    LilyUK, Jul 15, 2007 IP
  4. Edynas

    Edynas Peon

    Messages:
    796
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Your welcome
     
    Edynas, Jul 15, 2007 IP