Simple error?

Discussion in 'PHP' started by Plutonic, Sep 14, 2007.

  1. #1
    Hi, I asked this before but nobody helped me,

    I am making a forum for someone, they want an ad in the header...

    I put it there but it doesn't work in IE...

    This is my CSS for it:

    div.bannerpadding {
      border: 0px solid;
      padding-top: 0px;
      padding-bottom: 0px;
      padding-left: 0em;
      padding-right: 1em;
    }
    HTML:
    This is the PHP:

    <div class="bannerpadding"><a href="/viewforum.php?f=1"<img src="templates/Jet/images/logo_right.gif" width="468" height="60" alt="" /></a></div></td>
    HTML:
    Can anyone tell me how to get it compatible with all browsers?

    Thanks.
     
    Plutonic, Sep 14, 2007 IP
  2. hamidof

    hamidof Peon

    Messages:
    619
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    2 notes:
    1. This is not PHP related and that code is HTML
    2. <a tag is not closed it sould be <a href="">
     
    hamidof, Sep 14, 2007 IP
  3. Plutonic

    Plutonic Peon

    Messages:
    2,964
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thankyou!

    I didn't even notice that, thanks!
     
    Plutonic, Sep 14, 2007 IP