css width setting not working with IE

Discussion in 'CSS' started by Jattboyz, Mar 20, 2009.

  1. #1
    hi
    open my site in FF and IE and you will see big differnece
    In FF width setting working fine but IE is not supporting it.
     
    Jattboyz, Mar 20, 2009 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    You will never get IE to attempt to perform like the other more modern browsers without a proper doctype. Use this on your first line:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    Then validate your html and css for those lists of errors.
     
    drhowarddrfine, Mar 20, 2009 IP