Need HTML help, should be pretty simple!

Discussion in 'HTML & Website Design' started by TeKn1qu3z, Dec 29, 2009.

  1. #1
    I need HTML code to do something like this.

    [​IMG]


    I'd like to have an image and right next to the image, I want to have text.

    If anyone can direct me to how to do so, that would be greatly appreciated.
     
    TeKn1qu3z, Dec 29, 2009 IP
  2. excaflowne

    excaflowne Well-Known Member

    Messages:
    138
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    <body>
    <div style="float:left;">
    <img src="some url or path" tag="xxx"/>
    </div>
    <div style="float:left;">
    <p>your text here</p>
    </div>
    </body>
    Code (markup):
    that's pretty basic code.. you can custom it with external style sheet if you want and add more style
     
    excaflowne, Dec 29, 2009 IP
  3. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #3
    May be something like this:

    <div style="float:left;width:200px;">
    <img src="some url or path" tag="xxx"/>
    </div>
    <div style="margin-left:200px;">
    <p>your text here</p>
    </div>
     
    webcosmo, Dec 29, 2009 IP
  4. My220x

    My220x Member

    Messages:
    624
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    35
    #4
    Both code works so go with any of the above :p
     
    My220x, Dec 29, 2009 IP
  5. TeKn1qu3z

    TeKn1qu3z Well-Known Member

    Messages:
    1,496
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Thanks a bunch guys,

    Very much appreciated.
     
    TeKn1qu3z, Dec 29, 2009 IP