Thursday, April 10, 2008

Test Browser Compatibility Before Uploading New Webpages

Browser compatibility testing is a must for a newly created web page simply because different browsers use different rendering engine. This implies that all browsers may not render your page in the same way. This can cause your same page to look differently in different browsers which of course, I hope, you don't want.
After creating a new web page, many webmasters or website owners ignore the task of testing the page locally on their computers. Instead, they tend to directly upload it to the web server and test the page from there. But it is always advisable to test your page for browser compatibility on your local machine. Just browse the file that you saved on your local hard disk and open it in your browser. Don't forget to preview your page in several browsers. Internet Explorer, Firefox, Opera and Safari, in no particular order are the most widely-used browsers. So be sure to check your page in at least these four browsers. If you are using any website editing software to create your pages, you can also preview it from inside that tool.
One problem that may arise while you are testing your web page on local machine. If you have used reference path to link to other pages of your site, those pages may not be found if they are not in the same directory. Be sure to use absolute path to link to other pages and external CSS and Javascript files before testing.
Once you have tested your webpage locally and you are satisfied with the result, upload it on to your web server and again test from there.

No comments: