I haven't used CSS hack for a long time. Let's review it.

Source: Internet
Author: User

Not used for a long timeCSS hackNow, in the new environment, some of them are not self-written. The above is just a life-saving attempt. There is no way to use CSS hack.

NormalCSS hackUse less

Look at people for speedCodeReally tangled

Get oneCSS hackUse it

IE6 Recognize underlines "_" Hexing "*" , IE7 Recognize asterisks "*" But cannot recognize underlines "_" , And Firefox Neither of them knows. The order of writing. Generally, it indicates that CSS Post

Browser priority: FF <IE7 <IE6, CSS hackThe writing order is generallyFF IE7 IE6

Margin-Top: 10px; * margin-Top: 20px ;_Margin-top: 30px;

Interpreted

In Firefox, margin-top is 10px.

In IE7, the margin-top value is 20px.

In IE6, the margin-top value is 30px.


Of course, it is not recommended to upgrade the browser after CSS hack.

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.