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
First, explain the title attribute:
Instance Description: The instance code that can be run and can be seen immediately appears in the article.
In line with Chinese characteristics: the most popular browsers used by Chinese netizens are IE and Firefox. Therefore, these csshack mainly aims to solve the compatibility problems of the two browsers. Chinese computer users mainly use Windows operating systems. Therefore, these csshack targets Windows operating system browsers, excluding Mac.
In l
Screen IE browser (ie do not show)
*:lang (en) Select {font:12px!important}/*ff Dedicated * *
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
*+html {...}
This hack can be used when faced with the need to do IE7 style only.
IE6 and IE6 following identification
* HTML {...}
This place sh
What is CSS hack?
Because of different browsers, such as Internet Explorer 6,internet Explorer 7,mozilla Firefox and so on, the interpretation of the CSS is not the same, so will result in the resulting page effect is not the same, we need the page effect.
This time we need to different browsers to write different CSS, so that it can be compatible with different browsers, in different browsers can also get the page effect we want.
The process of writi
Browsers render pages differently, or even different versions of the same browser ("Outstanding representatives" are IE). As a result, browser compatibility is an essential skill for front-end developers. If there is a browser Hack manual, it is much easier to query. This article will share with you the various browser-specific CSS JavaScript Hack that browserhacks help us collect from the web, and remembe
colon split format, such as "Login: Password" instead of-l/-p parameterM Specify the target list file one line at a-O Specify the result output file-FAfter using the-m parameter, 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
ArticleDirectory
1. _ * \ 9! Important
2. About! Important and * + html
1. Basic usage
2. Judge the basic syntax of IE browser
3. logical judgment
4. Use
If your web site or applicationProgramIt is intended for different browser users, so you may need to use CSS hack and CSS conditional comments. In essence, CSS conditional comments is a type of CSS hack. If the CSS of your we
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.