1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google Adsense on the left side

Discussion in 'Placement / Reviews / Examples' started by llg871, Mar 5, 2007.

  1. #1
    How do I get my google adsense content to display on the left side of my website?
     
    llg871, Mar 5, 2007 IP
  2. 8everything

    8everything Peon

    Messages:
    16,350
    Likes Received:
    903
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What is your website?

    You can place it in tables:

    <table cellspacing="0" cellpadding="0"><tr><td>

    -- adsense ad here


    </td><td>

    -- content here


    </tr></td></table>
     
    8everything, Mar 6, 2007 IP
  3. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #3
    I think the better solution would be to use <div> or <span> as it's much simpler to implement. :)

    For example:

    
    <div style = "float: left">AdSense code here</div>
    
    <p>Content blah blah blah</p>
    
    Code (markup):
    If you wanted to make it on the right then obviously change the "left" to "right".

    Also if you want space (margin) between the <div> and the rest of the content you can do this:

    
    <div style = "float: left; margin: 15px 10px 5px 0px">AdSense code here</div>
    
    <p>Content blah blah blah</p>
    
    Code (markup):
    You should change the values of the margin so it suits your needs. Btw in case you don't know, the margins are listed in the order, top (15px in example), right (10px), bottom (5px) and left (0px).

    Hope that helps :D

    Hodge
     
    Darkhodge, Mar 6, 2007 IP
  4. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #4
    what cms are you using ? it's chaning according to your theme and your cms script;)
     
    trichnosis, Mar 6, 2007 IP