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
Whether you're a college student, A middle-aged networking guru or a wife and mother fascinated by the world of online games-Everyone occasionally comes guest ss a situation where some form of hacking wocould make life a whole lot easier.
Maybe you 've lost the license that came with your legitimate software package that you paid. maybe you want to make a backup copy of your favorite DVD movie, but there's copy-protection encoded onto the disk. or maybe you're just stuck on a popular online ga
Because of the different browser to parse the page, will cause the page to display in different browsers inconsistent style, in order to maintain the unity of the page, often need to the browser compatibility issues debugging.CSS HackFaced with many of the browser compatibility issues, often need to debug through CSS style, the most used is the CSS Hack. The so-called CSS hack is to write different CSS styl
IE10 and IE11 CSS Hack
It is said that Windows 8 has sold more than 40 million copies in just a few days since its launch. Then we found that many pages in the project were abnormal in IE10. Some were previously caused by hack on ie versions, and some were not sure whether it was a bug caused by ie10. Therefore, inertial thinking allows us to look for CSS Hack fo
I. Basic Concepts
CSS hack:Write different CSS codes for different browsers.
Css hack principle:Because different browsers have different support for CSS and parse results, they also have a relationship with the priority of CSS. We can write different CSS for different browsers based on this.
Browser priority:FF
The writing order is generally to write the CSS of a highly recognizable browser behind it, and the CSS
first of all: The purpose of this article is to describe to you the issue of our meeting IE8 version and Firefox compatibility.For different browsers to write different CSS process, this is called CSS hack, also known as CSS hack, I believe you will be more difficult to solve the compatibility problems have a certain interest.Note the point:Online A lot of information often put!important also as a
Block IE browser (ie not shown)
*:lang (ZH) select {font:12px!important;} Special for/*FF */
select:empty {font:12px!important;}/*safari Visible */
Here select is the selector and is replaced as appropriate. The second sentence is unique to the Safari browser on your Mac.
IE7 Identification only
*+html {...}
This hack can be used when faced with the need to make a style for IE7 only.
IE6 and IE6 following identification
* HTML {...}
This place shoul
pixel problem: IE6, there is a three-pixel problem between floating elements and flow elements when they are displayed in parallel. (Solution with Hack)④: Confusion occurs when the inline element is defined as a containing box, and the containing box contains an absolute positioning element that is positioned in percentage units (zoom:1)⑤: When multiple floating elements are interspersed with HTML comment statements, if the floating element width is
;} Mark is important, so IE7 and Firefox will consider it to be higher priority, ignoring the "background-color:blue;" and for IE6, so!important is not recognized, so jump directly over the line code, which is shown in blue.IE8 IE9 Hack\9 only IE6789 support, often used to differentiate IE and FirefoxOnly IE8 IE9 support\9\0 only IE9 supportsuch as the following code, in Firefox, Google display red, IE8 display blue, IE9 display Color:fuchsia color, I
Article Introduction: As we all know, sometimes in order to achieve some of the effects of IE and modern browser consistent, we have to use some hack means to achieve the purpose. For example, using "\", "\" and "\9" to only allow certain versions of IE to be recognized, and for modern browsers, he will directly ignore the code. Today I would like to introduce you to the use of @media implementation of IE hack
perform all necessary operations related to the job system, such as memory allocation, output to the screen, and creating Windows, and the user's program works with Windows by invoking the API interface, regardless of the application, The bottom end is to implement various functions by invoking various API functions. The API usually has two basic forms: Win16 and Win32. Win16 is the original, 16-bit version of the API for Windows 3.1;win32, which is now the 32-bit version of the API for Windows
VBulletin HACK
----Show topic size and open new Window on Forum index page
Author: gogosoft
"Show topic Size"
Reason: 1.1. This feature is not available in version 4, and some users use it as a reference for viewing the topic.
Pros: Just add a few lines of code to it.
Cons: Because each time a forum index page is displayed, all of the topics on the page need to be sized, which can have a number of effects on the server.
Self-Assessment: This is a smal
This is an article about CSS hack, this article refers to the CSS hack is for class, id the attributes of the hack, the order of arrangement are required. Today to talk to you about class, id do CSS HACK.
The code is as follows
Copy Code
. test{/*ff*/height:20px;Background-color:orange;}*
Document directory
Method 1: Feature Detection: @ cc_on
Method 2: @ media-ms-high-contrast
Method 3: @ media 0
Summary:
Organized from: http://www.impressivewebs.com/ie10-css-hacks/Original Chinese: IE10 CSS hackPlease respect copyright. For more information, see the source. Thank you ~~
It is said that Windows 8 has sold more than 40 million copies in just a few days since its launch. Then we found that many pages in the project were abnormal in IE10. Some were previously caused by
I. Basic Concepts
CSS hack:Write different CSS codes for different browsers.
CSS hack principle:Because different browsers have different support for CSS and parse results, they also have a relationship with the priority of CSS. We can write different CSS for different browsers based on this.
Browser priority:FF
The writing order is generally to write the CSS of a highly recognizable browser behind it, and the CSS
Shield ie browsers (that is, they are not displayed under IE)
*: Lang (zh) Select {Font: 12px! Important;}/* FF dedicated */
Select: Empty {Font: 12px! Important;}/* safari visible */
Here, select is the selector, which can be changed as needed. The second sentence is unique to the Safari browser on Mac.
Only IE7 Recognition
* + HTML {...}This hack can be used only for IE7.Identification of IE6 and IE6 or lower
* HTML {...}Note that many landlor
The official version of IE8 has been coming out for a while, but there are few CSS hack for the official version of IE8. In fact, this is fortunate because IE8 has fixed many bugs in IE6 and IE7, closer to W3C standards.
CSS hack for the official IE8 version can be found in two types: First: "\ 9 ″:
Basic statement:
1.
. Test {color/*\**/:Blue\9 }
IE6, IE7, and IE8 can both be identified. Howe
ArticleDirectory
Method 1: Feature Detection: @ cc_on
Method 2: @ media-MS-high-contrast
Method 3: @ media 0
Summary:
Organized from: http://www.impressivewebs.com/ie10-css-hacks/
Original Chinese Text: ie10 CSS hack, please respect copyright, repost, please indicate the source, thank you ~~
It is said that Windows 8 has sold more than 40 million copies in just a few days since its launch. Then we found that many pag
Common CSS hack methods compatible with various browsers
On underone's website, he complained about the hack.
Now I want to share some of my known hack methods for various browsers.
1. This is a common CSS hack method widely circulated on the Internet that is well compatible with mainstream browsers such as IE
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.