First, CSS HackStandard mode and promiscuous mode-Before IE6, there is no compatibility between different browsers-IE6 After the browser manufacturers began to seek standard unification, but still allow forward compatibility, resulting in a different mode of operation-Browser run mode can be divided into:-Promiscuous modes (Quirks mode)-Standard Mode-Quasi-standard mode (almost)-Different modes, the browser to CSS (especially box model) and JS parsing effect will produce different-Other browsers
{}}
X
X
X
√
√
√
* +html . bb {}
X
√
X
X
X
X
Browser Core
Trident
Trident
Trident
Gecko
Presto
Webkit
(Above. BB can be changed to another style name)
Note the point:
Many information on the internet often put!important also as a means of hack
1 Concept:Different browsers have different parsing effect on CSS, in order to achieve the same effect, we have to write different CSS according to different browsers.2 Rules:There are roughly 3 forms of CSS Hack, CSS class internal Hack, selector Hack and HTML header reference (if IE) hack,css
From: http://noirbright.com /? P = 412
This rom is a noirbright exercise
First, explain the cache hack.
G1 has a small space. As we all know, when danger SPL is not flushed, the main partition size of G1 is as follows:
/System 67.5 MB
/Data 74.7 MB
/Cache: 67.5 MB
After danger SPL is refreshed, the space will increase.
/System 90 MB
/Data 89.7 MB
/Cache 30 mb
Danger SPL solves the problem that early G1 space is insufficient and Rom cannot
Directory: 1. Background Image merging and CSS Spirit2. Basic PS shortcut keys 3. Basic hack technology writing. Why not? 4. kernel prefix 5. pseudo class afterbefore
1. Background Image merging and CSS Spirit
Two background image merging methods are available:① You can combine the background image into an image by PS, and then use background-position to locate the background image.② If you don't know the PS, you can use the CSS backgr
You are welcome to join me in combining these tips to provide a convenient way to work in the future, and thank those who have studied these CSS hack.
Screen IE browser (ie do not show)
*:lang (en)
select {
font:12px !important}/*ff,
OP visible, special reminder: Due to the recent upgrade of opera, this sentence is only recognized by FF * /
Select: Empty {
font:12px !important}/*safari Visible * *
Her
This article through an example to you describe IE6 CSS hack usage, we take a logo as an example, explained to IE6, the application of CSS hack settings are different from the IE7 and FF effect. The specific content please see this article detailed introduction, believed this article introduction certainly will let you have the harvest.
An example of CSS hack
√
√
√
* +html . bb {}
X
√
X
X
X
X
Browser Core
Trident
Trident
Trident
Gecko
Presto
Webkit
(Above. BB can be changed to another style name)
Note the point:
Many information on the internet often put!important also as a means of hack, in fact, this is a misundersta
Knowledge of CSS Hack and CSSHack
Test environment: Windows 7Main tests: IE6, IE7, IE8, Fire Fox3.5.6Secondary tests: Chrome4.0, Opera10.10, Safari4.04, 360 browser 3.1To enable multiple Hack instances in the same example, the following requirements are imposed on the instance page:
1. There are two divs on the left and right: # menu, # content. The font color is white.2. # menu Height: 500px; # content Hei
Less hack compatibleCSS compatibility is inevitable, then use less to write CSS code how to hack it? If you use CSS method to write a similar "\9" in the back of the compiler is to error. Here are the two small methods I tried for reference:1. First define a variable "/*\**/" when hack with this variable compile will not error:@
I have been accustomed to do a good job after the page to solve the compatibility of different browsers, continuous testing, constantly modify the CSS hack to ensure that most of the browser to get the best results. Light IE need to take into account ie5.x and IE6, and perhaps also for IE7 to write a separate CSS hack, perhaps this work to do much more began to hate this kind of inefficient labor. In or
Compatibility range:
Ie:6.0+,firefox:2.0+,opera 10.0+,sarari 3.0+,chromeResources:
1, ie conditional annotation method, Microsoft official recommended hack way.
Effective only under IEThis text is only displayed on IE browser
It only takes effect under the IE6.This text is only displayed on the IE6 browser
Only valid in IE6 above versionThis text is only displayed in the IE6 above version ie browser
Not effective only on IE7This text is displaye
IE6 CSS hack: 1. *html Selector {} /* Selector means that the CSS selector is the same as */ 2. Selector { _property : value ;} /* Property:value represents the property name of the CSS: property value similarly */ 3. Selector { _property /**/: /**/ value ; }4. Selector {-property : value ;} /* ie6 css hack common habits recommended use underscore _ */ IE7 CSS
Test environment: Windows7Main tests: IE6, IE7, IE8, Fire Fox3.5.6Minor tests: Chrome4.0, Opera10.10, Safari4.04, 360 browser 3.1To enable multiple hack in the same example, the following requirements for the instance page are:
1, about two Div is #menu, #content, the font color is white.
2, #menu高度500px, #content高度600px.
3, #menu宽度200px, #content宽度是自适应 (because it is adaptive so the usual method of adding float can not solve 3pxBug).
X
X
√
√
√
* +html . bb {}
X
√
X
X
X
X
Browser Core
Trident
Trident
Trident
Gecko
Presto
Webkit
(Above. BB can be changed to another style name)
Note the point:
Many information on the internet often put!important also as a means of hack, in fact, t
We often use CSS properties hack to be compatible with different browsers or to set different property values for different browsers.Description: This document is based on the compatibility test: Windows system; Ie6-ie10, Firefox6.0, Chrome13.0, Safari5.1, Opera11.51Grammar:selector {Value:
_:
Select IE6 and below. The
Connector (middle dash) (-) can also be used, in order to avoid confusion with some of the underlined
Today for you to explain the div+css if conditions hack knowledge and tutorial examples, friends can learn from our example. I hope the following case will be of some help to you.
ie CSS if condition hack-css hack
For you to explain hack knowledge and tutorial examples of if condition in div+css
Directory
CSS If
CENTOS7CENTOS6 root password hack detailedWhen it comes to Linux root login password, I believe that as an operations manager is a sensitive issue, if the administrator forgot the root login password, need to crack the words is and is convenient, not like Windows login password hack, Password hack for Windows login we need to intervene tools to
HTML compatibility-HACK technology-amateur obsessive-compulsive disorder patients
Let's talk about it first:The purpose of this article is to describe the compatibility of IE8 and Firefox.
The process of writing different CSS for different browsers is called CSS hack, also called CSS hack. I believe you will be interested in compatibility issues that are not eas
Detailed source reference: http://www.jb51.net/css/15987.html
During the tab switch today, we encountered a problem. IE8, IE7, and Firefox did not parse the PX height in a uniform way. We plan to start! Important solved the problem and later found that IE7 and IE8 all support this. It cannot be judged at all. So I found an article on the Internet.
We used most of the CSS hack for Firefox IE6 IE7 IE8! Important comes to
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.