CSS help to align tombstone image with paragraph text

Discussion in 'Programming' started by sunilmamo, Sep 19, 2014.

  1. #1
    I need someone to tell me how does one do this:

    [​IMG]

    More specifically:

    [​IMG]

    How do you align the image to the end of the paragraph text like that?
     
    sunilmamo, Sep 19, 2014 IP
  2. domainmarket.io

    domainmarket.io Well-Known Member

    Messages:
    74
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    100
    #2
    Just add the <img> tag right before the closing </p> tag. That should work.
     
    domainmarket.io, Sep 19, 2014 IP
  3. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #3
    On top of what bwagnerjr said, you can use hspace to give space between the text and the image.
     
    ThePHPMaster, Sep 19, 2014 IP
  4. sunilmamo

    sunilmamo Well-Known Member

    Messages:
    551
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    120
    #4
    It didn't work.

    [​IMG]
     
    sunilmamo, Sep 19, 2014 IP
  5. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #5
    Stop posting images, and post a link to the actual problem, please.
     
    PoPSiCLe, Sep 20, 2014 IP
  6. domainmarket.io

    domainmarket.io Well-Known Member

    Messages:
    74
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    100
    #6
    Make the <img> tag align left and see if that changes it.
     
    domainmarket.io, Sep 20, 2014 IP
    sunilmamo likes this.