Previously, when a Web page was compatible, the layout under IE8,IE9 was different. Just want to do a CSS hack for IE8,IE9. Online Search for information. \9 and \9\0 to distinguish IE8,IE9. I want a compatible property when Margin-top. But found the effect ie8,ie9 the same. I was confused at the time. Think this method is wrong. And then I'm going to use this method to color-compatible. But found that there is a difference under the IE8,IE9. I was co
AOPR is the acronym for password cracking software advanced Office Password recovery, which teaches you to crack the password process today. AOPR crack password operation is very simple, click the "Open File" button to open the dialog box, in the "File type" drop-down list, select "All Supported file Types" (or the type of file to be cracked), and then locate and select the file to be cracked, where we select the Word file, click "Open" Immediately start cracking the password, the "Progress ind
Everyone is familiar with the zip hack should be a brute force, brute force crack has great limitations, if the password is very long and complex you will probably never be able to decipher. Because today to crack their own previously encrypted zip file, I set the password habitually long and complex, decisive abandon brute force hack, find an article on the Internet http://bbs.csdn.net/topics/10444536, I k
CSS hack
Different browsers (Internet Explorer 6, Internet Explorer 7, Mozilla Firefox, and so on) have different understandings of CSS parsing, which leads to different page effects, we cannot get the page effect we need. At this time, we need to write different CSS for different browsers so that they can be compatible with different browsers at the same time, so that we can get the desired page effect in different browsers. The process of
IE7 has fixed many bugs and added support for some separators, therefore, hack for IE hiding or display, such as * HTML {} and HTML> body {}, will expire in IE7. Although CSS hack is not recommended, it is a foolproof filter, but it can only appear in HTML, and CSS hack is useful. Nanobot found some CSS hack for IE7, s
What is CSS hack in browser compatibility and layout design?Different browsers, such as Internet Explorer 6, Internet Explorer 7, and Mozilla Firefox, have different understandings of CSS parsing, which leads to different page effects, we cannot get the page effect we need.At this time, we need to write different CSS for different browsers so that they can be compatible with different browsers at the same time, so that we can get the desired page effe
Document directory
CSS hack1: differentiate IE6/7/8 from other browsers
CSS hack2: For IE6 and IE7
CSS hack3: For IE6
CSS hack4: For IE7
CSS hack5: For IE8
CSS hack6: For Firefox
CSS hack7: for opera
CSS hack8: For Safari and Google Chrome
There are many articles about IE6/7/8, Firefox, Safari, chrome, and opera CSS hack on the Internet. However, I think it is too complicated to give a CSS hack
Previously wrote "IE8 CSS hack", IE9 a CSS hack also the update, has not been concerned about, today in the Internal Reference group mxclion shared IE9 CSS hack, take out also share:?
1 2 3 4 5 6
select { background-color:red\0; /* ie 8/9*/ background-color:blue\9\0; /* ie 9*/ *background-color:#dddd00; /* ie 7*/ _background-color:#CDCDCD; /*
Transferred from: http://www.cnblogs.com/jiqingwu/p/cpp_enum_hack.htmlLet's start with an example:class Game {private: staticconstintten; int Scores[gameturn];};For C + + compilers that support in-class initialization, this code can be compiled through.However, older C + + compilers may not support in-class initialization, so that our static constants must be initialized outside of the class. As follows:class Game {private: staticconstint gameturn; int Scores[gameturn];}; Const in
After analysis and summary of the various users of the ineffective methods, with the following effective solution, perhaps there will be better and simpler hack, but for now this method can solve the immediate problem.
CSS compatibility has always been a headache for everyone, IE6, IE7 and FF have been very annoying, in the previous article, a lot of this knowledge introduced. Today to introduce IE8 CSS hack.IE8 official version of the release, has be
Css
IE7 fixes a lot of bugs and also adds support for some selectors, so now the hack, such as *html {} and html>body {} so on IE hidden or displayed, will fail in IE7. Although CSS Hack is not recommended, conditional annotations are foolproof filters, but conditional annotations can only appear in HTML, CSS Hack is still useful. Nanobot found some CSS
Core tips: CSS tips: About CSS hack and float closure
First, CSS HACK
The following two methods can solve almost all hack today.
1,!importantWith the support of IE7 to!important, the!important method is now targeted only at IE6 hack. (Note the wording. Remember that the claim position needs to be advanced.)
2, Ie
1.IE Conditional Annotation Method:
CSS file test.css only loaded into IE browser, for non-IE browser will ignore this point
Load CSS files for a specific version of the browser
For a range of the version of IE for hack, you can combine LTE (less than equal), lt (less than), GTE (greater than equals), GT (greater than), (not equal to), and so on keywords to comment
Example: only valid for versions above IE6
Not effective only on IE7
A condition
ajax|xml| data
AJAX hacks hack 4. Receive data in XML format Many of the current data interchange technologies use XML-formatted data because XML-formatted data is widely used and supported. Therefore, different users can have the technology to generate, send, receive XML data without the need to use other tools to transform the format of the data.A typical example is a GPS device that can share the data it needs anywhere. Whether on a long journey or
Hack static type, with some advanced features (in comparison) such as anonymous functions. There are also asynchronous and so on. What we cannot bear is whether the variable name must be added with $. Gt; Facebook is a family that is keen on using PHP, but BryanO Sullivan, head of the Hack team, also pointed out that since many developers are developing many different projects, it makes sense to be able to
About CSS hack things can be as little as possible. Found this article I write too complex, so re-streamlined, paste the code into the Jsfiddle, the aspect of modifying code and maintenance. 1, ie conditional annotation method, Microsoft official recommended hack way.Effective only under IE 2. Combine common CSS hack codeEdit in Jsfiddle
Css
Css. cs
Css hack, csshack
Different css hack attributes of each Browser:
IE6: _zoom:1;IE6/7: *zoom:1;IE6/7/8/9 :\9
Css hack rules for different browsers
IE6: * html {} IE7: +. class {} non-IE6: html> body {} Only Firefox: @-moz-document url-prefix () {} saf3 + and Google: @ media all and (-webkit-min-device-pixel-ratio: 0) {} Only opera: @ media all and (-webki
This article summarizes the CSS compatibility hack (mainly ie6/ie7/ie8/ff) for each browser, as well as the use of conditional annotations specific to IE.
For front-end workers, the most painful thing is browser compatibility debugging, and this most painful thing, the most perverted is Microsoft's three version ie6.0/ie7.0/ie8.0. In order for the code to work in the main browsers, we have to write the corresponding styles for each browser. This arti
CSS hack different properties for each browser:IE6: _ZOOM:1;IE6/7: *ZOOM:1;IE6/7/8/9: \9CSS hack different rules for each browserIE6: *html{}ie7: +.class{} non-ie6:html>body {} Firefox only: @-moz-document Url-prefix () {}saf3+ and Google: @media all and (- webkit-min-device-pixel-ratio:0) {} Opera only: @media All and (-webkit-min-device-pixel-ratio:10000), not all and (- webkit-min-device-pi
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.