IE & FF differences

Discussion in 'CSS' started by MikeHayes, Feb 25, 2009.

  1. #1
    Here is a portion of CSS and HTML from one of my sites.

    On IE it's ok but on FF:
    the borders and the link styles don't show.
    the list-style:none; doesn't work

    Why oh why?

    Thanks in advance.

    Mike

    PS Any sites out there with a concise overview of the IE/FF differences?
     
    MikeHayes, Feb 25, 2009 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    When looking at the same site, you should never use IE as your reference for how things work. IE is almost always the culprit while FF generally shows what you wrote. Check out some of the links in my sig but there are hundreds of web sites dedicated to fixing IE and none for any other browser. That alone should tell you tons.

    Another site to look at is positioniseverything.net
     
    drhowarddrfine, Feb 25, 2009 IP
  3. MikeHayes

    MikeHayes Peon

    Messages:
    95
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply. The point is the effect I want works with IE but not FF!! So what's the problem I wonder? On one of your sig sites you mention IE is the most used, which may be true, but more than 70% of my visitors are FF users and less than 20% IE.
    Mike
    PS I'm buying your book, looks good.
     
    MikeHayes, Feb 28, 2009 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    The point I was trying to make is that looking at IE and saying it works there means little beyond that it shows your markup is there but it doesn't mean you wrote it correctly. Many people use IE to first create the site, then check in Firefox to see what it looks like. That is backwards from how things should be done. Coders should always use a modern browser to check in, then look to see if/when IE screws things up.

    I thought, perhaps, you used IE first but apparently not, which is good. I'll look at your markup now.
     
    drhowarddrfine, Feb 28, 2009 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #5
    I'm on Unix so I can't look at IE right now but I don't see Firefox doing anything wrong. All the styles are applied as you wrote them.
     
    drhowarddrfine, Feb 28, 2009 IP
  6. MikeHayes

    MikeHayes Peon

    Messages:
    95
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Deeply embarassing but true is the fact that the cause was a typo. Elsewhere in the css I'd left out a }.

    Thanks for the contributions. I've learned and bought the Ian Lloyd book.

    Regards,

    Mike
     
    MikeHayes, Mar 2, 2009 IP