FF Browser
. test{
height:20px;
Background-color:orange;
}
IE7 Browser
*+html. test{/*ie7*/
height:20px;
Background-color:blue;
}
IE6 Browser
*html. test{/*ie6*/
height:20px;
Background-color:black;
}
You can see that FF is the most obedient browser through the CSS cod
This is an article about CSS hack, the CSS hack mentioned in this article is for the class, the ID of the attribute hack, the order of arrangement has requirements. Today we are talking about the CSS HACK for class and ID.
Copy CodeThe code is as follows:
. test{/*ff*/
height:20px;
Background-color:orange;
}
*+html. test{/*ie7*/
height:20px;
Background-color:bl
This is an article about CSS hack.
Article The CSS hack mentioned in this article is for the hack of the attributes in class and ID, and the order of arrangement is required. Today I want to talk about CSS hack for class and ID.
CopyCode The Code is as follows:
. Test {/* FF */Height: 20px;Background-color: orange;}* + Html. Test {/* IE7 */Height: 20px;Backgr
no problem under Firefox ..... $ ('# Content '). append ('
Modify (as follows ):
$ (Document ). ready (function () {$. ajax ({url: 'cutepage.htm', dataType: 'json', data: 'Type = Init PageSize = '+ EachPage +' PageIndex = 1', success: function (msg) {// after modification... (There is no problem. We can see that Jquery is sensitive to html tags. Pay attention to it later ........) var pageContent = ''; pageContent + = '
That is, copy the content to a parameter and do not directly use html con
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.
Copy Code code as follows:
. test{/*ff*/
height:20px;
Background-color:orange;
}
*+html. test{/*ie7*/
height:20px;
Background-co
Depending on the difference between FF and IE for some symbol recognition, we can define the styles separately for FF and IE, for example:Difference between IE6 and FF:Background:orange;*background:blue;Difference between IE6 and IE7:Background:green!important;background:blue;Difference between IE7 and FF:Background:orange; *background:green;Difference ff,ie7,ie6
FF Browser
. Test {
Height: 20px;
Background-color: orange;
}
Internet Explorer 7
* + Html. Test {/* IE7 */
Height: 20px;
Background-color: blue;
}
Internet Explorer 6
* Html. Test {/* IE6 */Height: 20px;Background-color: black;}
Through the above CSSCodeWe can see that FF is the most obedient browser. In
Since the beginning of the Internet, the battle between browsers has not stopped. Of course, the most bitter is the Web page production staff, in order to achieve the user experience and usability standards, have to be in multiple browsers for the unified effect. I really hope that one day FF can eminence, although it is still the big world ie. In particular, Microsoft's latest release of the IE7 browser, its CSS compatibility does give some web maker
CSS can refer to the following definition, note order:
The code is as follows
Copy Code
#menu {line-height:23px;} * * Firefox browser to implement this definition#menu {line-height:26px9;} /*ie6,ie7,ie8 This sentence defines the main cusp to IE8 to hack*/#menu {*line-height:23px;} /*ie6,ie7 This sentence defines the main cusp to IE7 t
This article to give you a brief description of div+css relative IE6 IE7 and IE8 compatibility issues, focus on the IE6 IE7 and IE8 and other browser differences and contacts, I believe this article will let you have some harvest.
Div+css relative IE6 IE7 and IE8 compatibility problem collation
1. Distinguish IE and non ie browsers
The following is a code frag
For the three articlesArticleThe provided method cannot be executed in IE7. This dialog box appears after the signature, and the control package cannot be installed.Because IE7 prohibits the use of international certification by defaultCodeThe signature certificate is used for signature ActiveX. Check the security settings of IE7.It is impossible for users to mod
Session cookies are widely used for browser user identity verification. In a recent project test, we encountered a related problem. After two different IE8 windows and logging on as two different users, the previously logged-on user page will be refreshed to the second user information page after the second user login. However, it is good to test in IE6 browser and no similar problems are found.
I checked t
Session cookies are widely used for browser user identity verification. In a recent project test, we encountered a related problem. After two different IE8 windows and logging on as two different users, the previously logged-on user page will be refreshed to the second user information page after the second user login. However, it is good to test in IE6 browser and no similar problems are found.
I checked t
Operating System: Windows XP SP3
Symptom: the page is blank.
Cause: Incorrect HTML character encoding
Test reproduction:
IE6/8 has no problems and is monopolized by IE7:
The solution is also very simple. Set the
You can see that IE7 incorrectly identifies character encoding by default:
PS: when saving the
First: What's the browser compatibilityBrowser compatibility issues are also referred to as Web compatibility or web compatibility issues, meaning that Web pages may appear inconsistent across browsers, resulting in compatibility issues between browsers and Web pages. In the design and production of the website, do a good job of browser compatibility, to allow the site under different browsers are normal display. For the development and design of the browser software, the better compatibility of
Another tangle of one night, the same font and size, the height in IE and FF is not the same solution. I have never wanted to use hack, which is equivalent to virus attacks (to overcome bugs with bugs ~ _~!
Color: # 0000ff \ 9;/* IE6, IE7, IE8 */* Color: # FFFF00;/* IE6, IE7 */_ Color: # ff0000;/* IE6 */
As for why \ 9 [IE6-IE8], I don't know. Really! However, when \ 0 is used, only IE8 is recognized. The
As long as IE8 read this tag, it will automatically start the IE7 compatibility mode, to ensure the full display of the page ...
The hottest tag these days is not IE8Browser vendors scramble to release version updatesSome Web pages also have compatibility issues with IE8A simple line of code that allows IE8 to automatically invoke IE7 rendering modeJust add the following HTTP Meta-tag to the page:
As soo
Recently a new Web site, and made a favicon.ico icon for it, but did not expect this ico in the IE7 is always not shown, tossing for a long time.
First of all, the production, upload. ico does not say much, the page Head section is also determined to have the following sentence:
In Firefox also good show, restart IE, empty the Internet temporary files have done, and even restart the computer, Google, Baidu has a big circle, others mentioned also
)When defining a Web page, backward compatibility with the old browser is quirks mode, which corresponds to the standard mode. Specifically, the I tested it, it's not feasible.Finally I tested under IE11, but under IE8 test, there was a problem placeholder not supportedThe following is a way to solve the IE support placeholderThe jquery referenced in this article is the 1.11.1 test pass, first referencing j
Div dislocation in IE6
The DIV using "float: Left" has no problem in IE8, IE7, but moves down in IE6, leading to a blank space. This is because the Kernel used by IE6 increases the distance between divs by 3 by default ~ 5 PX, so try to add "margin-left:-5px;" or smaller to the style of the moving Div.Solve the style incompatibility problem of IE7 and IE8
Method 1: Add the following HTTP meta-tag to the
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.