CSS wierd difference between firefox and IE, more than normal

Discussion in 'CSS' started by madmn, Jan 16, 2007.

  1. #1
    Can anyone explain the huge difference in this site www.easyfinddirectory.com on FireFox and IE. Particularly the blue subcategories and underlines.

    Anyone know a good way to fix it?:eek:
     
    madmn, Jan 16, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Well, you're going to have to be more specific than that. I don't see anything offhand that would get my shorts in a bunch.

    cheers,

    gary
     
    kk5st, Jan 16, 2007 IP
  3. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #3
    Try cleaning the code. For starters:
    - There are empty <p> tags placed under the the search box. Use <br /> instead for line breaks. Or better use nothing, just set valign="top" attribute to the <td>. The logo will contribute to achieving the desired header height. So get rid of the following:
    <p><br></p>
    <p><br></p>
    Code (markup):
    - Remove the <div> tag around the logo. No need for the image to be centered if you specify a <td> width that is equal to logo width.
    - Remove the <p> tag around the search box.
    - For the peace of mind, add the following to the .css:
    
    p {
     margin: 0;
     padding: 0;
    }
    Code (markup):
    There are more but these few changes should clear some differences between FF and IE and give you directions to what's going on.

    Hope this helps.
     
    Clive, Jan 16, 2007 IP