Aligning images with text?

Discussion in 'CSS' started by Brandon the Great, Jan 16, 2008.

Thread Status:
Not open for further replies.
  1. #1
    Hey,

    I know this is probably a cakewalk for most of you CSS people, but can anyone provide the way to get an image aligned with text.

    Problem:

    [​IMG]

    ^trying to get the comment icon inline with the "2 comments".


    Thank you in advance
     
    Brandon the Great, Jan 16, 2008 IP
  2. babyboy808

    babyboy808 Well-Known Member

    Messages:
    491
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Depends how you coded it. What's the url and I'll give you a hand
     
    babyboy808, Jan 16, 2008 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Set a backgroud colour to whatever is holding the text. Where is the image? Usually setting the line height to double the dont size sets the text in the middle of whatever's holding it. The image I'm assuming is a background image on something set to left and center??

    Actually, I guess it really depends on what you HTML is, and who's holding the image. : )
     
    Stomme poes, Jan 16, 2008 IP
Thread Status:
Not open for further replies.