开发者

How to Maintain Browser Compatibility [closed]

开发者 https://www.devze.com 2023-01-24 12:28 出处:网络
开发者_如何学JAVA It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current fo
开发者_如何学JAVA It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

This is Srinivas, I am working on ASP.Net Technology. I developed on web site, that's works fine in IE but the design is changing from Mozilla, Safari. How to fix the problem. How to maintain the browser compatibility. I stuck with this problem from last two days. Please provide a solution for fixing this problem. If Possile provie code also. Thanks in advance.


The best way to maintain compatibility is to follow the standards set by W3C. You should also be testing your layout on as many browsers as you can while developing your layout, so you can immediately see what works and what doesn't work. Without seeing any code, I can't make any further suggestions about how to fix the compatibility of your layout.


Cross-browser compatibility is a touchy subject, but your best bet to alleviate most of your pain is to:

  • Use standards-compliant markup.
  • Test rigorously.

Ultimately, you'll be making a lot of CSS and Javascript hacks unless you're using a layer that insulates you from the intricacies of each browser's implementations. JQuery is one popular solution, there are many more out there.

Finally, ASP.NET MVC is worlds better than its webforms counterpart for cross-browser development.


Always design for Mozilla/Webkit browsers. When it looks right in standards compliant browsers you can then pander to IE's deficiencies, safe in the knowledge that at least most of your code is standards compliant.

0

精彩评论

暂无评论...
验证码 换一张
取 消