Help needed with placing a code

Discussion in 'HTML & Website Design' started by JohnS0N, Oct 10, 2007.

  1. #1
    Please look at my test blog here and notice how the adsense unit is placed.

    http://jumptidumpti.blogspot.com/

    I want it to be wrapped inside and aligned left in the blog post. Right now it is placed more above the text than aligned left, only a small portion of text is next to the adsense unit. How do I do that?

    What I did is I placed the adsense code like this:

    <p><my adsense code><data:post.body/></p>
     
    JohnS0N, Oct 10, 2007 IP
  2. JohnS0N

    JohnS0N Notable Member

    Messages:
    1,581
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Please mates this is urgent. I am even wiling to pay for a solution...
     
    JohnS0N, Oct 10, 2007 IP
  3. jBud

    jBud Peon

    Messages:
    387
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try this:
    <p style="float:left; margin-right:10px; margin-top:0px;">YOUR AD CODE</p>
    Code (markup):
    Note the margin-right is the amount of space you want to the right of the ad, so that it separates it from the rest of the content...
     
    jBud, Oct 10, 2007 IP
    JohnS0N likes this.
  4. JohnS0N

    JohnS0N Notable Member

    Messages:
    1,581
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Great, thanks a lot it works! I've added reputation to you!
     
    JohnS0N, Oct 10, 2007 IP
  5. jBud

    jBud Peon

    Messages:
    387
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm glad it worked out for you!
    thx for the points :)
     
    jBud, Oct 11, 2007 IP