hi. i created a website http://www.chandigarhscan.com but its appearance looks completely different in internet explorer. I don't understand how to correct it.Pls help me. THANK YOU IN ADVANCE
Wow! I Have a Buddy Of Mine who's have a similar Problem and He Said he was told There May actually be two reasons: 1.) The website does not validate as standard XHTML, as the doctype claims it to be. There seems to be almost a thousand errors according to the W3C markup validator. They aren't minor, either. This means that your page can display unpredictably on different browsers based on how error handling is done. You're just lucky that it works on Firefox. 2.) IE is extremely poor at following standards. It often renders standard-compliant pages wrong. The best way is to use stuff that are known to work in IE. This can often be a pain and it is none of your fault! Only way to be sure is to cut down on the flashiness and use features that are very unlikely to break.
The actual response to this is "yes, and?" It looks fine in IE8 in IE8 mode, it looks fine in IE7 in IE7 mode (and I wouldn't worry about earlier versions) and it looks bad in quirks mode. Put <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> at the top of the document. It should force "standards mode" in almost all browsers.
@Rukbat's answer is correct but new web pages should not use the transitional doctype. Always use strict. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Hi Charan, i went through your website and got the problem..i might be missing margin:0 auto; If you still can't fix the error then do share your code with me and i will fix your error. Thanking You, Futureistic Team