How do we face CSS hack?

Source: Internet
Author: User

I am used to solving the compatibility problem of different browsers after completing the page, continuously testing and constantly modifying CSS hack to ensure the best effect on most browsers. Internet Explorer needs to take into account both IE5.X and IE6. In the future, it may be necessary to write a separate CSS hack for Internet Explorer 7. Maybe this kind of work has been done too much and I hate this kind of productive work. To satisfy a few IE5.0 users, or to satisfy extreme Firefox or Opera advocates, I need to spend more than twice to study these issues, I began to think about whether our CSS hack needs to be written continuously when the browser continues to grow and updated? IE7 has come out. Although it is only a BETA version, some people have begun to study how to write CSS hack of IE7.
When browsers in this world start to be free, should our thinking change? Now all browsers have online upgrade functions, that is to say, as long as his machine is connected to the Internet, his browser may stay up to date. When computers are built on the internet in this era, the possibility of no Internet access will also decrease. So is it necessary for us to rethink our work? Do we still need to write our own CSS hack to make our websites consistent in most browsers?
In my opinion, we should keep pace with the times and exert our professional influence to promote social progress and technological development. We have to meet the requirements of low-level browsers, that is, to make more people comfortable with insecure and outdated browsers, and impose restrictions and limitations on some of our new technologies, new effects, and new security standards. It is important for the public to understand that upgrading a new browser can provide a better user experience and browse more websites without making any mistakes.
Therefore, we should use CSS hack to guide the public to update and upgrade the browser. In addition, the current browser upgrade does not cost money, and all features are automatically upgraded. Therefore, I think it is necessary to give up the old version of the browser. Of course, the CSS hack function can not only be used for browser compatibility, but also help us guide the customer's software upgrade. For example, if our browser in IE5.X shows that the software version is too low and the security is poor, please visit this site after upgrading. You can decide which browser you want to recommend.
In addition, I think CSS hack can be used not only as a compatibility solution, but also as another tool for our work. For example, we set different skin styles for different browsers. As a result, CSS hack should not only be used for monotonous work, but also make our website a "changeable girl" with full imagination ".
The constant elimination of old browsers is a trend and an inevitable trend. In addition, browser updates are free of charge and can bring more user experience to the public. Why don't we get behind this trend to accelerate technological innovation? Of course, meeting the customer's needs is the first, but we can start from our own website. Old browsers have been eliminated to enrich the content received by different browsers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.