Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the chronological steps in building a cross browser compatible site? [closed]

I am working on my first project that requires me to worry about cross browser compatibility. Since this is my first time doing so, I dont know how to go about completing the project. I am specifically worried about IE. Should I complete my project in a more graceful browser then hack it to work in IE, or should I simultaneously build my program up in both environments?

like image 208
Babiker Avatar asked Nov 30 '10 00:11

Babiker


People also ask

What is cross browser development?

Cross-Browser development is the process of building your web pages in such a way so that they are compatible across a range of browsers. Cross-browser development becomes important as the display of HTML and CSS differs with every browser.

How do I ensure cross platform compatibility?

Use Frameworks - CSS frameworks like Foundation and Bootstrap will give you style code to make cross-compatibility easier for you. If you take the time to become familiar with some of the features, building a responsive web application becomes much faster and easier.


1 Answers

Design your site to work in standards complaint browsers first. I always start with Firefox, even when developing on my company Intranet (where everyone uses IE). Doing so will let you focus on getting your markup and CSS correct. This is what is most important.

The important thing to note is that you'll want to "future proof" your site, and concentrating on a standards compliant browser will help you do that.

Then, once you're confident your site is looking correct (validators are your friend!), try it out in the versions of IE you want to support. In order to get your layout to look OK in IE, I strongly suggest using different stylesheets for each version of IE, using conditional comments.

Also, you should note that many others have been in the same scenario as yourself, and there is quite a bit of help available. One popular method of forcing IE to behave is the ie-7.js project.

Lastly, be mindful of the top IE bugs, such as:

  • IE6 Box Model Bug
  • IE6 transparent PNG images (I have used this fix in the past)
like image 137
wsanville Avatar answered Nov 09 '22 02:11

wsanville