How to place ads side by side in HTML

Discussion in 'HTML & Website Design' started by marvikand, Dec 31, 2012.

  1. #1
    How to place ads side by side in HTML.
    Please include an example screenshot if possible.
    Thanks
     
    marvikand, Dec 31, 2012 IP
  2. HostUS - Alexander

    HostUS - Alexander Greenhorn

    Messages:
    53
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    23
    #2
    You could put the two codes next to each other, and using div tags, CSS float. You could float each left and right ?

    Thanks
     
    HostUS - Alexander, Dec 31, 2012 IP
  3. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #3
    ad one ad two.

    If you mean specific code for a specific ad type, you'll have to specify.
     
    Rukbat, Dec 31, 2012 IP
  4. amit0535

    amit0535 Active Member

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    50
    #4
    <div style="float:left">Ad1 </div>
    <div style="float:right">Ad2</div>
    you have to manage contents between these divisions.
     
    amit0535, Dec 31, 2012 IP
  5. creativewebmaster

    creativewebmaster Active Member

    Messages:
    654
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    78
    #5
    First create the 3 div. First and second div give float left and last one one with float right.
     
    creativewebmaster, Jan 1, 2013 IP
  6. 71paglababa

    71paglababa Banned

    Messages:
    98
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    <table width="200/400/As you want" border="0">
    <tr>
    <td>Ads 1 </td>
    <td>Ads 2 </td>
    </tr>
    </table>

    Or

    <div style="float:left">Ads 1 </div>
    <div style="float:right">Ads 2</div>
     
    71paglababa, Jan 1, 2013 IP