H3 Problem in IE7 and FF1.5

Discussion in 'HTML & Website Design' started by hhheng, Jan 2, 2007.

  1. #1
    All please visit www.hkhangfong.com. The
    is H3. Please view it in IE and Firefox, and you can find that the space between this line and top is different in the 2 browsers. Actually I added a <br> tag before this line, becuase if not, there is no space between this line and the top border in IE7, but in Firefox, there is a 1 line space.

    I know that I can solve this problem by set this title as normal text and put it in a table, but this will increase the script size and I don't want to that. Can anybody tell me how to solve this problem without increasing script size? I want the space be the same in both IE and Firefox.
     
    hhheng, Jan 2, 2007 IP
  2. kh7

    kh7 Peon

    Messages:
    2,715
    Likes Received:
    109
    Best Answers:
    0
    Trophy Points:
    0
    #2
    First thing is that you will never be able to get the page to look exactly alike in both FF, IE6 and IE7. That's a given that you have to learn to accept.

    That said: have you set both the padding and the margin for the H3? If not, IE6 and FF are both still using their default padding/margin and those are likely different.
     
    kh7, Jan 2, 2007 IP