Hi,
In the process of upgrading our website from IE6 to IE7,we are facing some alignment issues on alomost all screens in our website.
We are using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> to follow our standards. However, what I see is that if I remove this doctype from my HTML files, all the problems get solved immediately. But removing this doctype will be a bad idea as it is a legal requirement on UK websites to use such doctypes.
We follow "Div" classes patterns to call our classes defined within the .css files. What I observe is that if i change "width" parameter from % to px for certain classes in our css files, most of the problems get solved. Is it like this that IE7 doesn't accepts "width" parameters in % OR is it a problem wrt the DocType provided above?
Please let us know what can be the best possible solution in such a scenario. Can we replace our Doctype with some other value OR should we go for a change in our .css files.
In the process of upgrading our website from IE6 to IE7,we are facing some alignment issues on alomost all screens in our website.
We are using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> to follow our standards. However, what I see is that if I remove this doctype from my HTML files, all the problems get solved immediately. But removing this doctype will be a bad idea as it is a legal requirement on UK websites to use such doctypes.
We follow "Div" classes patterns to call our classes defined within the .css files. What I observe is that if i change "width" parameter from % to px for certain classes in our css files, most of the problems get solved. Is it like this that IE7 doesn't accepts "width" parameters in % OR is it a problem wrt the DocType provided above?
Please let us know what can be the best possible solution in such a scenario. Can we replace our Doctype with some other value OR should we go for a change in our .css files.
Comment