Source: http://www.ido321.com/938.htmlFirst, what is CSS Hack?Different browsers have different parsing results for CSS, which will result in different page effects for the same CSS output, which requires CSS hack to solve the browser-local compatibility problem. The process of writing different CSS code for different browsers is called CSS Hack.CSS hack common i
What is the principle of CSS hack
Because of the different browsers to the CSS support and resolution results, but also due to the priority of the CSS in the relationship. We can write different CSS for different browsers according to this.
There are roughly 3 forms of CSS Hack, CSS class internal Hack, selector Hack
Transferred from: http://www.365mini.com/page/css-hack-ie-chrome-firefox-safari-opera.htmIn the current network era, a variety of web pages to show us a rich and colorful web world, and the browser is our view of the Network World window. In the past, browsers mainly have IE and Netscape two, and now, a variety of powerful browser endless. For example: The world-famous browser has chrome, FireFox, Safari, Opera, the common "domestic" browser has roami
Has published about this CSS compatible hack article more than one, but there are too many, have been invalidated, again released, do not want to talk about what a mess of the theory, directly on the example! As follows:IE browser can recognize "*" "\9", standard browser (such as FF) does not recognize "*";IE6 can recognize "_" "+" "#" "@", the same attribute has two only look at the latter, whether or not if it is two words it can recognize the "!imp
CSS Hack, csshackAbstract:
When we create a page, CSS hack has different understandings of CSS parsing in different browsers, such as Internet Explorer and Mozilla Firefox, 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
Introduction of this for different browsers to write different CSS code process, called CSS hack!2 principle because different browsers support and parsing of CSS, but also due to the precedence of CSS in the relationship. We can write different CSS for different browsers according to this. There are roughly 3 forms of CSS Hack, CSS class internal Hack, selector
, find the first login or password to abort the break-T The number of concurrently running threads, default to 16W Set the maximum time to timeout, in seconds, by default is 30s-V/-VShow detailed proceduresServerDestination IPServiceSpecify service name, supported services and protocols: Telnet FTP POP3[-NTLM] IMAP[-NTLM] SMB smbnt http[s]-{head|get} http-{get|post}-form http-proxy Cisco Cisco-enable VNC ldap2 ldap3 MSSQL mysql oracle-listener postgres NNTP socks5 rexec rlogin pcnfs snmp rsh CVS
CSS hack: different browsers have different CSS resolutions, which may lead to different page effects. 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.
CSS Hack has three forms: CSS class internal Hack, sel
CSS hack because of different manufacturers of browsers, such as the Internet Explorer,safari,mozilla Firefox,chrome, or different versions of the same manufacturer's browser, such as IE6 and IE7, the parsing of CSS is not exactly the same, As a result, the resulting page effect is not the same as the page effect we need. At this time we need to write different CSS for different browsers, so that it can be compatible with different browsers, can be in
CSS Hack and backward compatibility Frequently Asked Questions
Once people get used to something, it is difficult to modify it. There are various reasons why new browsers are becoming increasingly popular and old browsers cannot be eliminated. Increasing Speed is always faster than dying, leading to browser compatibility. Speaking of browser compatibility, css hack is naturally remembered. Today, we usuall
Hack
static types, with some advanced features (in contrast) such as anonymous functions. There are also asynchronous and the like, can not tolerate the variable name or to add $.
> Facebook is a big family that loves PHP, but Hack team leader Blaine Oshaliven (Bryan O ' Sullivan) also points out that, given that many developers are developing many different projects, it will make sense to catch errors b
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
Css
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
Common CSS Hack technology highlights
Source: http://www.ido321.com/938.html
1. What is CSS Hack?
Different browsers have different parsing results for CSS, which may lead to different page effects of the same CSS output. This requires CSS Hack to solve the local compatibility problem of the browser. This process of writing different CSS code for different brows
Recently read a few articles about CSS hack, feel good to tidy up a bit.
CSS hack Many people do not understand its principle, in fact, we all know that for different browsers, CSS parsing degree is not the same, it will lead to the resulting page effect is not the same, especially for IE, the snake disease browser, At this time we need to write different CSS for different browsers (especially IE), this pr
What is CSS hackCSS hack because of different browsers, such as Ie6,ie7,firefox, and so on, the parsing of CSS is not the same, so the resulting page effect is not the same, get the page effect we need. At this time we need to write different CSS for different browsers, so that it can be compatible with different browsers, can be in different browsers can also get the desired page effect.CSS Hack Categories
DIV+CSS layout of the compatibility problem, in addition to some tips, often need to combine CSS hack writing to solve. The principle of CSS hack is for each browser to CSS properties of the support and resolution of different results, as well as the implementation of CSS priority issues, to different browsers to write different CSS.1 floating dislocation problem in IEOften, we define a div floating time, e
Screen IE browser (ie do not show)
Copy Code code as follows:
*:lang (en) Select {font:12px!important}/*ff visible, special statement: Due to Opera's latest update, this sentence has now become a special FF hack*/
Select:empty {font:12px!important}/*safari Visible * *
Here the Select is a selector and is replaced according to the situation. The second sentence is unique to the Safari browser on the Mac.
Only IE7 recognition
Because of different vendors ' browsers, such as Internet Explorer,safari,mozilla firefox,chrome, or different versions of the same vendor's browser, such as IE6 and IE7, the parsing of the CSS is not completely understood, resulting in a page effect that is not what we need. At this point we need to write different CSS for different browsers, so that it can be compatible with different browsers at the same time, in different browsers can also get the desired page effect.Simply put, the purpose
CollectHackWriting Method
The following is my collection of hack statements for various browsers:
1. Firefox
The new identification code added by the black body to adapt to the browser
@-Moz-document URL-prefix (){
. Selector {
Property: value;
}
}Firefox supports the following methods:
# Selector[ID = selector]{// ID Selector
Property: value;
} Or:
@-Moz-document URL-prefix (){
. Selector {
Property: value;
}
}
*>. Selector {
Property: value;
}
2. W
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.