文档详情

IE跟Firefox的区别(国外英文资料).doc

发布:2017-06-06约1.27万字共17页下载文档
文本预览下载声明
IE跟Firefox的区别(国外英文资料) 1, ul and ol list indentation problem When you eliminate the indentation of a list such as ul and ol, the style should be written: list - style: none; Margin: 0 px; Padding: 0 px; The margin attribute is valid for IE, and the padding property is valid for FireFox. This sentence is wrong and detailed in detail This problem has not yet been verified and will be modified after verification. [note] verified, in IE, set up the margin: 0 px can remove the list up and down around the indentation, blank, and number of the list or dots, sets the padding has no effect on the style; In Firefox, set margin: 0 px can remove the blank, just set the padding: 0 px about only can be removed after indentation, must also be set list - style: none can only remove the list number or dots. In other words, just setting margins in IE: 0px is the ultimate result, and in Firefox you have to set up margins: 0px, padding: 0px, and list-style: none of the three will achieve the final result. Second, the issue of CSS transparency Internet explorer: dximagetransform.microsoft. FF: 0.6. It is best to write both, and put the properties on the bottom. Three, CSS round corner problem IE: the following versions of ie7 do not support rounded corners. FF: -moz-border-radius: 4px, or -moz-border-radiation-topleft: 4px. -moz-border-topright: 4px; -moz-border-radius left: 4px; -moz-border-radius: 4px; It is. The rounded corner problem is a classic problem in CSS, and it is recommended that you use the JQuery framework set to set the rounded corners, leaving these complex questions to others to think about. Common problems in Javascript Class object problems Many collections class objects in existing code use (), IE accepts, and Firefox cant. Solution: switch to [] as a subscript. For example, document.forms ( formName ) is changed Js code Document.forms [ formName ]; / / such as: Document.getelementsbyname ( inputName ) (1); / / to Document.getelementsbyname ( inputName ) [1]; Documen
显示全部
相似文档