Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Quick Firefox problem

Options
  • 20-12-2005 8:58am
    #1
    Closed Accounts Posts: 232 ✭✭


    Hi,
    Firefox does the same thing to every website I make (IE doesn't do it), but I can't work out what is causing it: it displays a small gap under images. Example

    Thanks


Comments

  • Closed Accounts Posts: 157 ✭✭the_menace


    Change your DTD:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    


  • Registered Users Posts: 2,157 ✭✭✭Serbian


    You don't need to change your DocType. Just use this piece of CSS:
    img#topimg {
      margin: 0px;
      padding: 0px;
      vertical-align: text-bottom;
    }
    


  • Closed Accounts Posts: 232 ✭✭fluppet


    Thanks for your help :) I don't like having to use 'work-arounds', but I guess I'll have to in this instance.


Advertisement