html - What steps could be taken to avoid cross-browser compatability issues? -


Recently, I'm doing a horrible table borders / margins, divas alignment Supports Explorer 6. I know that a lot of people like me are forced to support IE6-IE8, web-kit, and Mozilla-based browsers.

I have questions from you:

  1. How many important rules are you using before hand, when you are developing in many browsers to save time?
  2. How can you prevent yourself from writing incompatible tags?
  3. What's the best way to avoid hacking your code?
  4. Where do you find research about browser compatibility, do you use any device?
  5. When in the end, when do you line up / draw it, attract it?

  1. I usually get Firefox (or Safari ) first. It generally produces good results in browsers that are different from IE. I then hit IE8, IE7, then finally IE6.

  2. Find out which tags are being tagged to cause you trouble and avoid using them at all costs. It is familiar with issues of each browser.

  3. Do not use hacks. Use IE Conditional Comments Using conditional comments, you can load a stylesheet for IE6, one for IE7, one for IE 7 and one IE6 (if you need to fix your issues Such granularity is needed). This will allow you to easily make stylesheets with very little hack-i-nis.

  4. T lines to cross if you need compatibility, then you need compatibility. You can just make your issues useless as much as you would have been useful to you at a time.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -