A website made up by hard work shows a mess on others' computers. Why? Because different browsers are used, for example, I use IE8, and IE8 also has an IE7 compatibility mode. I have always enabled the compatibility mode. do not dare to use IE8 mode, many websites are not compatible.
At present, most people in China still use IE6, but only one IE browser can be
In the text, keep in mind the differences in the browser version of the pits.
Copy Code code as follows:
Array.prototype.Contains = function (str) {
if (!STR)
return false;
for (var i = 0; i if (this[i] = = str) {
return true;
}
}
return false;
}
var tmp = new Array ();
Tmp.push ("1");
Tmp.push ("2");
Tmp.push ("3");
Alert ("Traversal attribute");
for (var i in TMP) {
Alert (Tmp[i]);
}
Alert ("Traversal array");
for (Var i=0;iAlert (Tmp[i]);
}
If you are a
According to foreign media reports, it is obvious that Microsoft is still optimistic about the future of Internet Explorer after the market share of Internet Explorer fell from 90% to 60%.
A few days ago, Ryan Gavin, senior director of Microsoft IE, said that, just like in the past five years, the future of IE is bright. It can be said that IE8 is the fastest growing browser in history. It is not only the number one browser in the Windows operating sy
1. Customize toolbar buttons
After installing IE8, you may find that by default, the buttons in the IE8 toolbar are very few, which is obviously not convenient for us to perform some routine operations while surfing the Internet. As a result, we can add some buttons that can be used frequently to the IE8 toolbar to improve our work efficiency according to our ow
ArticleDirectory
Option 1: IE8 and Firefox using the same style, IE6 and IE7 using another
Option 2: IE8 and Firefox using the same style, IE6 and IE7 using their own styles different to IE8 and Firefox.
Option 3: similar to above, but if you need to target IE8 and Firefox separately.
Option 4: simila
According to Canisue (http://caniuse.com/#search =box-shadow), Box-shadow compatibility is as shown:
Test code:
IE8 Browser Effect:
Border-radius in IE8 browser compatibility scenario:
IE8 Browser Effect:
Pie can handle some of the properties of CSS3, such as:
Additional respond.js files are still required for IE8 to support media queries.
1, the effect of the HTTP protocol (such as: http://192.168.12.40:8020/bootstrap/index.html):
2, File protocol IE8 effect (such as: C:\Users\dell\Documents\HBuilderProject\bootstrap\index.html)
As shown, the raster layout is not supported.
The main problems are:
Respond.js and file:// protocols
Due to the security of the bro
When you select the show plaintext check box, you need to display the password entered by the user in plaintext. If you do not select this box, you need to change the ciphertext. The problem is that the type attribute abstract of the input cannot be modified in ie8:
Now, you need to check the show plaintext check box to display the password entered by the user in plaintext, the first thought was to modify the type of the input box to determine whethe
Border-radius IE8 compatible processing, border-radiusie8
According to canisue (http://caniuse.com/#search=border-radius), border-radius compatibility is shown in:
Test code:
1
IE8 browser effect:
Border-radius compatibility solution in IE8 Browser:
1
Effect of IE 8 browser:
PIE. HTC: http://css3pie.com/
PIE ca
Although the official version of Internet Explorer 8 has been released for several days, Microsoft's development team is still not in a tight development status.The Microsoft IE8 Development Team expressed the hope that IE testers would continue to submit bug reports to them to help IE8 perform better. Microsoft connect's problem submission channel will also be enabled, the previously submitted problems wil
Http://www.cnbeta.com/articles/50449.htm
According to the news in today's Microsoft press release, the default rendering mode of Internet Explorer 8, the next-generation browser of Microsoft, will be adjusted to "standard ". this means that IE8 will fully comply with Internet standards, and is truly on the same starting line as Firefox, opera, and other browsers.IE8 has passed the acid2 web standard test
Summary:
Now there is a requirement as shown in the figure, when the user check the display clear text checkbox, in clear text to display the user input password, remove the check to change back to the ciphertext, just begin to think of is to modify the type of input box to decide to display clear text or ciphertext, using jquery attr to do experiments, test results are chrome , firefox,ie9+ are good, in the IE8
HACK principle: different browsers recognize different characters
Special Character Recognition tables are commonly used in CSS:(1 )*:IE6 + IE7Yes, but the standard browser FF + IE8 cannot recognize;(2 )! Important:Except IE6, it cannot be recognized! Outside important,FF + IE8 + IE7Yes! Important;(3) _: DivisionIE6Supported _ external, FF + IE8 + IE7 a
When querySelector () or querySelectorAll () is used to find an element similar to name = "2nd_btn", FF, chrome, and IE8 will report an error.FF, chrome reports the same error, as shown below:Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location :"... /test/qsa.html Line: 18 "]The error message of
1.IE8 compatibility issues, this best deal, converted into IE7 compatible can be. Add the following piece of code to the head, and then as long as it is compatible under IE7, IE8 below is also compatible2.flaot floating caused IE6 double margin problem, this is the most common, but also best to deal with,!important solve, such asmargin-left:10px!important;margin-left:5px;+height:120px;5. Sometimes, in the l
Cause analysis
It is normal to write the JavaScript code, the test has passed, in the IE10 IE7, 8, 9 rendering mode is also tested through. At this time, customer feedback in XP under the IE8 has a problem: the initial landing can not show the default skin, click to switch after refreshing can not show the skin after the switch.
Because it is through cookies to determine whether the default skin or the la
Cookie Processing
I have encountered the problem of IE8 processing cookies before, that is, using IE8 to log on to a website. Once I log on to the website, I need to log on to another page to publish the website. The problem is the login cookie information, which is not accepted by ie8. After reading this question on the Internet, many of my friends mentioned tha
Now IE8 has become more and more users of the choice, despite this, there are many users are not accustomed to IE8 interface layout, for example, in the IE8 interface, the menu bar is actually located under the toolbar. Also, the Search Toolbar in IE8 is not necessary because we are more accustomed to opening web searc
On the official web of Bootstrap, a navigation bar component is provided: As long as you put JQ and bootstrap in the site folder, enter the following code:
You can get a navigation bar that can vary with the size of the window:
You can also change the class value in the
It looks good, but the downside is pretty lethal. And regardless of the color provided by this navigation bar is white and black, the most frightening thing is to display the navigation bar directly on the phon
Microsoft offers three types of parsing pages in IE8 IE8 Standard Modes: The default, the most standard mode, strictly according to the relevant rules of the Consortium
Microsoft offers three modes of parsing pages in IE8IE8 Standard Modes: The default of the most standard mode, strictly in accordance with the relevant rules of the ConsortiumIE7 Standards MODES:IE7 is now used to parse the Web page mode, op
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.