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.

Trouble Aligning Text Ad in Header

Discussion in 'Placement / Reviews / Examples' started by Adam Wojtasik, Jun 1, 2007.

  1. #1
    are there any easy methods for aligning text ads. I need to move the ad into the header but i can't get it to fit properly so it looks very sketchy. I tryed to make a simple table and align but I can't figure out how to move the table up and down, and move the text by only an inch. Can U Help?:confused:
     
    Adam Wojtasik, Jun 1, 2007 IP
  2. denovo

    denovo Peon

    Messages:
    260
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to use your stylesheet. Add a class, for example:

    .ad1 {margin: 0px 0px 0px 0px}

    Then, wrap the ad code in the template in these tags: <div class="ad1"></div>

    Then, change the margins to suit your template.

    You can also try other parameters such as:

    padding, text-align, etc.

    Good luck!
     
    denovo, Jun 2, 2007 IP
  3. Adam Wojtasik

    Adam Wojtasik Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks i gave it a try but thats a little too much for me, i just decided to place the ad at the footer and see how it will work out. Thanks for your time tho
     
    Adam Wojtasik, Jun 3, 2007 IP
  4. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #4
    i'm using codes like <div align="left">adsense code comes here</div> to align my adsense in my templates
     
    trichnosis, Jun 4, 2007 IP