design varies in IE and FF - CSS compatibility issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grafix
    New Member
    • Apr 2007
    • 1

    design varies in IE and FF - CSS compatibility issues

    hi,

    i am a novice in web design -- but i love to learn and do things my own -- in jan i launched my site -- it was a downloaded css template and i just made the necessary changes -- now a subsite has been include -- both tables and css are used in it -- IE displays it correctly but in FF it is not the same --

    can any one help me --

    http://www.secretarial services.grafix solutions.biz/

    thanks,
    Pranjit
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    The problem is two-fold. First, there is no doctype. This puts IE into 'quirks mode' which means it uses what is known as the infamous "broken box model", ie, an error Microsoft introduced in Internet Explorer and the world has paid the price for it since.

    Second, the page is missing elements which are listed by using the W3C validator. But first, you must add a proper doctype.

    All these things are discussed in the stickies at the top of this board. The doctype you should use is this one:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    Remember that if your page works in IE but not Firefox then something is wrong with your code. Firefox and Opera are modern, standards compliant browsers while IE is old, buggy and non-compliant. So always do initial testing in the modern browser first.

    Comment

    Working...