adding image to post

Discussion in 'Blogging' started by budc, Mar 4, 2008.

  1. #1
    I am trying to post an image in my post and have text to the right of it. I can post post the picture before or after the text but I was hoping for pics that are not real wide to have text to the right of them. Any ideas?
     
    budc, Mar 4, 2008 IP
  2. renwickftw

    renwickftw Banned

    Messages:
    215
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    after, [/img]type what you want here
     
    renwickftw, Mar 4, 2008 IP
  3. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #3
    float the image to the left then the text will wrap around it so if you are using css for the image class use float:left;

    so it would be <img src="whatever" alt="whatever" class="alignleft"/>

    you probably already have a class in your css called alignleft that does this for you.
     
    wd_2k6, Mar 4, 2008 IP
  4. comati

    comati Active Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    but if you don't have use the old <img src="whatever" alt="whatever" align="left" />
     
    comati, Mar 4, 2008 IP
  5. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #5
    no, if you don't have the class in your style sheet either add it to your style sheet or use inline styling like so:
    <img src="http://your-image-file-location-and-filename" alt="some description of your image" style="float: left;" />
    Code (markup):
     
    arwen54, Mar 4, 2008 IP
  6. WhoJayBe

    WhoJayBe Peon

    Messages:
    464
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Wait, what blogging host are you using?
     
    WhoJayBe, Mar 4, 2008 IP