How to make a website cross-browser compatible?

Asked By 10 points N/A Posted on -
qa-featured

I am trying to make a website but I don't know how to make my website cross-browser compatible.As I am trying, the website

displays ok in Firefox but not in Internet Explorer and also in Google Chrome.How can I make my website cross-browser

compatible and also do I need to do some course or anything to learn this.

SHARE
Answered By 5 points N/A #117944

How to make a website cross-browser compatible?

qa-featured

For cross browser compatibility you need to Define Valid document type(DOCTYPE).
Reset CSS-We need to  define CSS so as to make same behavior for different browsers as by default Different browsers behave as per their default CSS rules. Many sizing and styling issues can be avoided this way.
Validate CSS and HTML -The W3C Validation Service validates different versions of XHTML and HTML giving out errors  and can help develop a good website.
Conditional style sheets for IE can be used – Use conditionals to load IE-specific style sheets that’ll be loaded for the version of IE you need to target.
Try and develop your website in one Browser and then try and test in the rest. Firefox is the best bet.
Try avoiding Flash Usage everywhere on the site.

Test your website in the following browsers: WebKit- based browser (Chrome),Firefox, IE, Opera

Related Questions