how put the google adsence add on the header of my wesite

Discussion in 'HTML & Website Design' started by nabeelasad, Sep 10, 2010.

  1. #1
    hi
    i want to put adsence add on the header of my website i m desing my web on wordpress and use the lifestyle studio press template but i m try to put adsence add on the header but naver do plz help me u can see my web site . my web site address is

    http://www.awamiweb.com/

    i m awaiting ur reply
     
    nabeelasad, Sep 10, 2010 IP
  2. Alexwhin

    Alexwhin Active Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    58
    #2
    It's hard to tell you without seeing a little bit of your code (i.e Header HTML and your CSS style sheet). But if you want to do this with some float variables you can use this code:

    <div style="position:absolute; left:50%; margin-left:-400px; top:20px;"> AdSense CODE Here </a>

    Have a play around with the "margin-left" and "top" until your banner fits.
    I wouldn't fully recommend it for SEO purposes, but it's a temporary solution.
     
    Alexwhin, Sep 12, 2010 IP
  3. Andrew E. Rhyne

    Andrew E. Rhyne Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This will most likely require you to use a bit of code. I'd recommend posting the contents of the HTML page you are going to use and then I'd be happy to instruct you how to modify it to get this going for you
     
    Andrew E. Rhyne, Sep 12, 2010 IP