Align DIV at the bottom of content

Discussion in 'HTML & Website Design' started by coleby58, Mar 25, 2009.

  1. #1
    Hello I have a code of my adsense ads in a div that I want to appear at the bottom of the page automatically after all the content. The div is saved on one page and I use the php include function on pages I want that ad to appear. The problem is some of my pages have more content then others so when CSS aligns it at the bottom its not actually at the bottom and covers some of a my content.

    Is there any way to fix this problem? Thanks!
     
    coleby58, Mar 25, 2009 IP
  2. chuckymcgun

    chuckymcgun Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure I understand the question, but you might try sticking this in your html between your content and the php function.. <div style="clear:both;"></div>
     
    chuckymcgun, Mar 25, 2009 IP