Wrapping image in text

Discussion in 'Blogging' started by mpak11, May 27, 2008.

  1. #1
    I am trying to put image in my post but it won't wrap around text. How do I do that?
     
    mpak11, May 27, 2008 IP
  2. brauner

    brauner Peon

    Messages:
    12
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can try this approach:

    <table>
    <tr>
    <td colspan="3">Your top text goes here.</td>
    </tr>
    <tr>
    <td>Your left text goes here.</td>
    <td>Your image goes here.</td>
    <td>Your right text goes here.</td>
    </tr>
    <tr>
    <td colspan="3">Your bottom text goes here.</td>
    </tr>
    </table>
     
    brauner, May 27, 2008 IP
  3. billurell

    billurell Peon

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I use this which the image left and floats the text around it.

    <img style="FLOAT: left; MARGIN: 0pt 5px 2px 0pt" src="http://www.YOURSITEHERE.com/YOURPICTURE.jpg"/>

    For "http://www.YOURSITEHERE.com/YOURPICTURE.jpg" use the location and title of your picture and where your picture is hosted. Easier for me than tables.

    Bill
     
    billurell, May 27, 2008 IP
  4. mpak11

    mpak11 Guest

    Messages:
    234
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4

    Thanks guys...will try both.
     
    mpak11, May 27, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Don't use the table. Just float the image.
     
    Dan Schulz, May 27, 2008 IP
  6. brauner

    brauner Peon

    Messages:
    12
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I like that. It's simple!
     
    brauner, May 27, 2008 IP
  7. MindBlogger

    MindBlogger Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I agree. Tables can be messy and if you wrap content within two tables, the content will not display until the whole master table is loaded so it's a bit dangerous in a way.
     
    MindBlogger, May 27, 2008 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Tell me about it. ;) I'm seriously half-tempted to write a custom user stylesheet for Opera that gets applied only to Digital Point that uses the following style rule:

    
    table {
    	table-layout: fixed;
    }
    
    Code (markup):
    Just so I don't have to wait for Opera to draw every single table in the source code.
     
    Dan Schulz, May 27, 2008 IP