Can someone provide the code for this placement.. ?

Discussion in 'Placement / Reviews / Examples' started by Khaludi92, Oct 30, 2010.

  1. #1
    Hello all..

    I want to place such a placement on my site but I dont know the coding for it. Can someone give me the codes.. ?

    [​IMG]


    It is basically 2 Adsense units placed between the post title and content Horizontally beside each other. When i simply put the code of the 2 adsense unit, they both appear above/below one another. But i want them to be beside.

    P.S - I have editted the picture to make the explanation clear.
     

    Attached Files:

    Khaludi92, Oct 30, 2010 IP
  2. DaStarBuG

    DaStarBuG Peon

    Messages:
    621
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try this:

    
    <div>
     <div style="float:left;">Adsense Code1</div>
     <div>Adsense Code 2</div>
    </div>
    
    Code (markup):
     
    DaStarBuG, Oct 31, 2010 IP
  3. credasys

    credasys Peon

    Messages:
    281
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks also for this tips. I'm also looking for a code for this ads placement.
     
    credasys, Nov 1, 2010 IP
  4. Khaludi92

    Khaludi92 Member

    Messages:
    259
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #4
    Not working :(
     
    Khaludi92, Nov 2, 2010 IP
  5. prateekbtbl

    prateekbtbl Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <div>
    <div style="float:left; padding-right:10px">Adsense Code1</div>
    <div style="float:left;">Adsense Code 2</div>
    <div style="clear:both"></div>
    </div>

    Hope this works for you...

    Peyale Roy
    planetarticle.net
     
    prateekbtbl, Nov 3, 2010 IP
  6. Khaludi92

    Khaludi92 Member

    Messages:
    259
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #6

    Its working correctly, But my page's width is small so the ad code 2 appears below it.. Can u check my theme and tell me what changes i have to make in the .css sheet??

    link in the signature.
     
    Khaludi92, Nov 3, 2010 IP
  7. prateekbtbl

    prateekbtbl Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You can change the CSS file style.css

    singlepost .post {
    padding-left:10px;
    padding-right:10px;

    padding-top:20px;
    }

    If you've problem understanding please send me the style.css, I will make the changes.

    Thanks & Regards
    Peyale Roy

     
    prateekbtbl, Nov 3, 2010 IP