The implementation of childnodes in IE and FF is different in terms of node computing.IE ignores the carriage return and line feed, while FF uses the line feed as a node, for example:
Div ID="Node">
A Href="Default. aspx" >AA>
Div>1Div>
Div>
Div ID="Node">A Href="Default. aspx" >AA>Div>1Div>Div>
CodeIn IE, The Length attribute of Node 1 is 2, and the Length attribu
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. Therefore:
. Test {Color: #000000;/*
See the following code: String mac_no_ff = ""; for (int i = 0; i ) { + = integer.tohexstring (Card[i] 0xFF). toUpperCase (); + = integer.tohexstring (card[i]). toUpperCase (); } System.out.println (MAC); System.out.println (MAC_NO_FF);This is the output .286ED488C8C3286EFFFFFFD4FFFFFF88FFFFFFC8FFFFFFC328 normal conversion, 6E after the conversion of a series of FF this is because the receive
First, only the browser is differentiated, regardless of the version
Copy codeThe Code is as follows:Function myBrowser (){Var userAgent = navigator. userAgent; // obtain the userAgent string of the browser.Var isOpera = userAgent. indexOf ("Opera")>-1;If (isOpera ){Return "Opera"}; // Determine whether the operabrowser is usedIf (userAgent. indexOf ("Firefox")>-1 ){Return "FF ";} // Determine if the Firefox browser is usedIf (userAgent. indexOf ("Chr
In IE, event objects are saved and maintained as a global variable. All browser events, whether triggered by the user or other events, update the Window.event object. So in the code, as long as easy to call Window.event can easily get the event object, and then event.srcelement can get trigger event elements for further processing in FF, the event object is not a global object, in general, is the scene, on-site use,
When you add a default property for a child node:
Childnode.classname = "ChildClass"; Or: Childnode.classname = new String ("ChildClass");
Parentnode.innerhtml ie,ff can get [
When you add a private property to a child node:
Childnode.type = "Childtype";
Parentnode.innerhtml when and only if IE can get [Childnode.type = new String ("Childtype"); Object objects
Parentnode.innerhtml IE,FF is not available [
C
IE under the onmouseenter and OnMouseLeave to solve.
Unfortunately, FF is not. I think again, why such a good function, why FF do not quote it?
There are IE in the onpropertychange, ah, FF did not ...
A section of JS is introduced in the contrast example to accommodate FF Onmouseenter and OnMouseLeave. :
Copy C
-type (1) If this is the case, the global lookup body will correspond to the first 3, there are other formulations, such as: *html #test {} or *+html #test {} 4, *+html to IE7 hack must ensure that the top of the HTML has the following declaration: HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD 5, Order: Firefox, IE8, IE7, IE6 in turn. First, CSS HACK Here are two ways to solve almost all of today's hack 1.!important With IE7 support for!important, the!important method is now only for IE6 hack. (Note th
Some important differences between IE and the FF browser:· IE does not have the same centering method as ff.(1) An example of how the body can be centered in both IE and FF browsers:[HTML]View Plaincopyprint?
html>
head>
title> Let the Body Container center in the browser title>
link rel="stylesheet" type="text/css" href= "body_center.css">
h
The content as following of this article is what I summarized when I completed the task of making online ordering compatible with Firefox and Safari for Hongkong at several months ago.
As we know, Firefox and Safari both abide by W3C standards, so I just enumerate some caution between Firefox and ie8.
1 )! Important attribute
This attribute is the most useful to deal with the issue of compatible with Firefox.! Important attribute plays a role as if else In css. For example:
These two days I browsed the sourceid open source Identity Management Project, read some articles about SAML and ID-FF, a little gap than expected, some disappointment, here a little summary.
1. Introduction to open standards SAML, liberty, and WS-Federation
As we all know, in the same security domain, Single Sign-On (SSO) can be implemented by writing user identity information in the cookie of the user's browser. However, in cross-domain environments
/* Replace Internet Explorer with IE, and replace Mozzila Firefox with MF/FF */// Window. eventIE: window. event objectFF: There is no window. event object. You can pass the event object to the function parameters. For example, onmousemove = doMouseMove (event)Solution: var event = event | window. event;Example:Copy codeThe Code is as follows: // Current mouse CoordinateIE: event. x and event. y.FF: event. pageX and event. pageY.Generic: both have the
Obtain the div editing box, textarea, and inputtext. The cursor position is compatible with the IE, FF, and Chrome methods. If you have any need, you can refer to the online solution for 2 hours, but it is not compatible with FF, it seems that this kind of thing is not ready for use on the Internet.
Now released, there will be ready-made online for people to use.
In order to save trouble, it is also very c
For the optimal method of clearing floating in IE7, FF, and OP, we discuss a margin problem in the CSS Forest Group and inadvertently find that overflow can also be used to clear floating. Hey hey, this method is not just easy to use, in addition, FF, OP, and IE7 are supported. From then on, we can say goodbye to the FF Floating Method with long compatibility.
T
When you use $ (# id ). the ie and ff are different when attr (color) gets the color. The following is an example. For more information, see $ ("# id "). when attr ("color") gets the color, ie and ff are different. A simple example:
The Code is as follows:
Use $ ("# id "). attr ("color") gets "green" in ff and chrome, and "#008000" in ie ".
Therefore,
When php reads data from the database, ie8 can obtain the data. browsers such as chrome, 360, and ff cannot obtain the data. This post was last edited by vic90 at 16:55:13 on.
Browser php mysqlThis is my php code. I want to get the content of the z_register data table, which can be obtained through IE browser, but cannot be obtained through chrome, 360, FF, or other browsers.
When chrome, 360,
In the recent MD page, we need to consider ff and IE, so a lot of JS will have some problems.It is best to use W3C standard L for coding.
You can also:
This is an event executed after the IE and FF pages are loaded.
Innertext does not have this attribute in ff. The corresponding attribute is textcontent.The following is to determine whether it is IE
If (naviga
The best way isWord-wrap: break-word; overflow: hidden;InsteadWord-wrap: break-word; word-break: break-all;NeitherWord-wrap: break-word; overflow: auto;
There is no problem in IE. In FF, long strings of English will be overwritten.
Differences between word-wrap and word-break
Word-wrap:Normal Default. Content exceeds the boundaries of its container.Break-word Content wraps to next line, and a word-break occurs when necessary. If necessary, the word-br
In IE, there are onmouseenter and onmouseleave.
Unfortunately, FF does not. I want to explain again, why does FF not reference such a good function?
There is also onpropertychange in IE, ah, FF, none...
A js section is introduced in the comparison example to be compatible with FF's onmouseenter and onmouseleave .:CopyCodeThe Code is as follows: var XB ={Evtha
)http://www.CodeHighlighter.com/-->Function Format (what, OPT){Editor. Focus ();Editor.document.exe ccommand (what, false, OPT );}
Recognize selected text and manipulate dom
There are several differences between FF and IE. One is press enter, and the other is
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Editor.doc ument. onkeypress = fnkeypress;
Function fnkeypress (){
If (document. All ){
VaR EV =
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.