As the name suggests, IE6's classic hack is: an underscore "_", for example, _ color: # ff0000; but this example is placed at the bottom.
The hack of IE6 7 is: an asterisk "*", for example, * color: # ff0000. However, this should be placed before _ hack.
So someone summarized the figure below:
For the above image, it is transferred to me by someone e
Document directory
Development Platform Selection
Hack Sequence
Hack Method
(From: http://www.neoease.com/css-browser-hack)
Due to the rise of Firefox and the separation of Internet Explorer,CSS hackI got the attention of the Website Creator again.Compatible with browsersIt is a pity that some of my friends have failed to stick to it because of their trou
Problem descriptionThe following CSS code through JS Dynamic Add, the result will be?. box { background:red;/* Normal browsers */ *background:blue; /* IE 6 and 7 */ _background:green;/* IE6 */}Add to the page with the following codevar node = document.createelement (' style '); node.type = ' text/css '; if (node.stylesheet) { //For W3cnode.styleSheet.cssText = style;} else { //For Ienode.appendchild (document.createTextNode (Style));} document.getElementsByTagName (' head
Generally speaking, when we write a better structure, there is no difference between ie8/9. So few people can focus on CSS hack that only IE8 or IE9 recognize.Because IE8 and the following version is not supported CSS3, but if we use CSS3, under IE IE9 Normal rendering, but we want to let IE8 and the following browser to achieve the same effect, and do not want to use Css3pie or HTC or conditional comments, and other methods, You may need to use the e
On the CSS for each browser compatibility has been a cliché, the network of tutorials everywhere. The following content is not too novel, purely personal summary, I hope to have some help for beginners.
First, CSS HACK
The following two methods can solve almost all hack today.
1,!important
With the support of IE7 to!important, the!important method is now targeted only at IE6
Ajax| string
Ajax hacks-hack 5. Get normal stringThe normal string is used to manage weather information, stock prices, and other times when you don't use XML.The request object can sometimes be applied to Web applications without using XML:request.responseText. This hack the user by selecting a stock symbol and then obtaining the price of the stock in a string format from the server. The price to get the
IE has a long time to feel, in Win10 out a new browser and China's ie6+ users do not popularize the new browser before IE is a pit, so hack this thing still have to master a little. No nonsense direct stickersRemember before in the project against IE6 hack is this _bakcground: #fff; in fact, this is only for IE6 use.The yellow part is the selector hack
IE H
We will inevitably encounter browser compatibility problems when making pages, especially IE6. How can we be compatible with all browsers? The answer is CSS hack.
The followingCodeIt is some common CSS hack I have compiled myself. I hope it will help you.
Doctype HTML public "-// W3C // dtd xhtml 1.0 strict // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > Html Xmlns = "Http://www.
Many articles about CSS hack are mentioned in 52css.com.
Csser must master the simplest hack skills about IE6, IE7, and ff.
You can also refer to the following article
Http://www.52css.com/search.asp? Searchcontent = hack
FF BrowserExample source code [www.52css.com]. Test {
Height: 20px;
Background-color: orange;
}
Internet Explorer 7Example source code [www.52
than, that is, Less.
Gte: Short for Greater than or equal to, that is, Greater than or equal.
Gt: Short for Greater than, that is, Greater.
! : It means not equal to, which is the same as the non-equal identifier in javascript.
Conditional comments belong to CSS hack? Does the condition determination belong to CSS hack?
Strictly speaking, it belongs to CSS hack.
It's a cliché that CSS is compatible with every browser, and the tutorials are all over the Web. The following content is not too many novel, purely personal summary, hoping to have some help for beginners.
First, CSS HACK
The following two methods can solve almost all of today's hack.
1,!important
With IE7 support for!important, the!important method is now only for IE6
from freebuf.com freebuf This article mainly enumerates the hacker tools used in the "Mr Robot" TV series, and gives a brief introduction to the hacker tools that they correspond to in reality.Mr. RobotIn 2015, the United States played a TV series on the subject of hacking, believing that the students who watched the hackers ' TV dramas and movies had already seen or were chasing the mysterious Mr Robot, especially for the computer fans or the tech fans, the TV play was not to be missed. In add
1. Complex Selector2. Content Generation3, multi-column4. CSS Hack (browser Compatibility)=======================================1. Complex Selector1. Brother Selector1. features:1. Match elements by positional relationships (peer)2, can only look back, can not look forward2. Brother Selector-adjacent Brother Selector1, What is the neighboring brothersThe elements that are close together, called neighboring brothers2. grammarSelector selector 1+ Selec
1, ie conditional annotation method, Microsoft official recommended hack way. Effective only under IEThis text is only displayed on IE browserOnly takes effect under the IE6.This text is only displayed on the IE6 browser.Only valid for versions above IE6This text is only displayed on the IE6 or above version of IE browser.is not effective on IE7.This text is displayed on a non-IE7 browserNon-IE browser effectiveThis text is only displayed on non-IE br
This world is a lot of things, browser can be counted to do one, especially the IE browser. There are a lot of spit slots on the browser, I will not be here to spice up. But the spit groove after all is only vent a moment of anger, solve the problem is the key, today we talk about browser (style) compatible technology--css Hack.Browser incompatibility There are many aspects, some JavaScript scripts are incompatible, there are some styles (CSS) incompatible, and CSS
VBulletin HACK
----Display the topic size and open a new window on the Forum index page
Author: gogosoft
"Show topic Size"
Cause: 1.1.4 does not have this feature, and some users will use this as a reference to whether to view the topic.
Advantages: Just add a few lines of code to it.
Disadvantage: Because every time you display the Forum index page, you need to calculate the total size of the topic on the page, so you may have some impact on the ser
Summary
I went to 178.com yesterday to take a written test. I only had one question for CSS. I wanted to write CSS. I had to show different results in IE6, IE7, and FF browsers, I didn't expect it to be a multiple-choice question, and I used a sub-selector. This syntax is seldom seen, so I didn't pay much attention to it at ordinary times. I didn't expect it to happen at this time. Well, now, back to the Internet, simply review all the css hack method
I got a new project today and I have to finish it by the end. I wish I could finish the work smoothly. In the process of CSS framework, there are some browser compatibility issues encountered. So we will count the browser-specific CSS hack bar.(Paste from Wikipedia)
CSS Hack for Firefox:@-moz-document Url-prefix () {. selector {attribute:value; }}
CSS Hack
Pic via Baidu 0x 00 hack ideasThe user's plaintext password is generated hash hash by one-way hash encryption, hash hash is encrypted and stored in the system disk \windiws\system32\config fileTo get the clear text, you get the SAM file, extract the hash hash, and then search online or brute force to get the plaintext password.There are two ways to get a SAM file:1) obtained directly from the native operating system;2) using a USB flash drive with
Due to different browsers, and even different versions of the same browser, the parsing of CSS is not the same, resulting in inconsistent page results, written for different browsers CSS code is called CSS hack.Commonly used CSS hack there are three ways, CSS internal hack, selector hack, HTML header reference, the first of the most commonly used.The addition of
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.