Need a little help please

Discussion in 'HTML & Website Design' started by patron123, Sep 21, 2008.

  1. #1
    Hi there.
    I am having trouble with placing two adsense units (300×250) horizontally, like in this picture:
    [​IMG]

    How to do it in html?

    I would appreciate your help.
    Thanks
     
    patron123, Sep 21, 2008 IP
  2. seanyboyyo

    seanyboyyo Banned

    Messages:
    1,160
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    on the adsense website, there is an option to make your ads as big as you want.

    and if you want them horizontaly or what ever way u want them to go.

    then you just paste the code in your coding and your set.

    --sean
     
    seanyboyyo, Sep 21, 2008 IP
  3. patron123

    patron123 Well-Known Member

    Messages:
    851
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    thats not what i meant...
    see the picture; notice 2(two) adsense units placed horizontally.
    by default if you place one code after another, you will get two adsense units vertically and i need to place them horizontally...Get it?

    hope it helps to clarify.
    thanks
     
    patron123, Sep 21, 2008 IP
  4. seanyboyyo

    seanyboyyo Banned

    Messages:
    1,160
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    o yea I see..

    Simply align the second one right.

    and align the first one left or just paste the code as they will have the same effect.

    --sean
     
    seanyboyyo, Sep 21, 2008 IP
  5. cipals15

    cipals15 Well-Known Member

    Messages:
    1,085
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    100
    #5
    Add the two codes directly.. No space between the first code and the second adsense source code. :D
     
    cipals15, Sep 21, 2008 IP
  6. patron123

    patron123 Well-Known Member

    Messages:
    851
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #6
    None of this work guys. Anymore suggestions?
     
    patron123, Sep 21, 2008 IP
  7. buntoo

    buntoo Well-Known Member

    Messages:
    607
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #7
    easier would be to create a table, split it in two halves, horizontally.
    and add the adsense codes to the new cells..
    hope this helps.

    replace adsense code1 and 2 with your adsense codes.
     
    buntoo, Sep 21, 2008 IP
  8. patron123

    patron123 Well-Known Member

    Messages:
    851
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #8
    That actually worked, but now all blog content (posts, categories titles...) is centered ...
     
    patron123, Sep 21, 2008 IP
  9. buntoo

    buntoo Well-Known Member

    Messages:
    607
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #9
    add the </div> tag at the end..
    you can see we started the table with the div center tag right, so have to close it.

    I wont be checking this thread, if you have questions,PM me.
    all the best with your website.
     
    buntoo, Sep 21, 2008 IP
  10. patron123

    patron123 Well-Known Member

    Messages:
    851
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #10
    thanks, really helpful.
    one thing that bothers me is the border around those adsense units. can i make it vanish?

    EDIT: Everything is OK now, really huge thanks.
     
    patron123, Sep 21, 2008 IP