The Perfect browser-compatible
HR:
height:1px;
Border:none;
border-top:1px solid Black;
margin:0;
*margin:0 0-14px 0;
Float:none;
*float:left;
Display:block;
The 1.hr element is a block-level element that is a box that has border
2. Height:
sizeAnd
Style.height.IEAnd
FirefoxThe size is interpreted and calculated differently, so it's best not to
sizeUse
Height, but there will be a border
Box, so will
Border:none.
FirefoxIt's under.
sizeIt's solid.
Box, not just an ordinary block-lev
Recently, colleagues encountered a problem, the mall Web page when the jump, in Firefox click PageTag jump failed. Test in chrome,360, QQ browser jump normal.
Solution path:
1, in Firefox, Ctrl+shift+a, open the browser component interface
First component, tab optimization, disable. Restart the browser. Browse the Site page again, OK.
2, upgrade your Firefox
In the Android version of Firefox View blog home found in the middle of the font display is very large, began to think is the home page CSS for mobile browser support is not good.
It turned out to be a well-known bug in Firefox for Android:
For the. This is a known bug in Firefox's code to enlarge text to make it more readable on small screens. For details, seehttps://bugzilla.mozilla.org/show_bug.cgi?id=
1. Document.form.item Issues
(1) Existing problems:
There are many Document.formName.item ("itemname") statements in existing code that cannot be run under Firefox (Firefox)
(2) Workaround:
Use document.formname.elements["ElementName"]
2. Collection Class object issues
(1) Existing problems:
Many collection class objects in existing code use (), IE can accept, Firefox
, IE and Firefox js and CSS
PNG Transparent AlphaImageLoaderFilter:progid:DXImageTransform.Microsoft.AlphaImageLoader (Enabled=benabled,sizingmethod=ssize,src=surl)
Enabled: Options available. A Boolean value (Boolean). Sets or retrieves whether the filter is active. true: Default value. Filter activation. False: Filters are prohibited.Sizingmethod: Options available. String. Sets or retrieves how a picture of a filter's object is displayed within t
Differences between Firefox and IE on JavaScript and CSS
Keywords: javascript; CSS; Firefox; ie; Difference1. Document. formname. Item ("itemname ")Note: in IE, you can use document. formname. Item ("itemname") or document. formname. elements ["elementname"];In Firefox, only document. formname. elements ["elementname"] can be used.Solution: Use document.
1. Document.form.item question(1) Existing problems:
There are many Document.formName.item ("itemname") statements in existing code that cannot be run under Firefox (Firefox)
(2) Solution:
Switch to document.formname.elements["ElementName"]
(3) Other
See also 2
2. Collection Class object problem(1) Existing problems:
Many collection class objects in existing code use (), IE can accept,
It seems that I have not written similarArticle. This time, I am still busy writing an article.
I have always been a loyal user of IE browser, but recently due to the development of ASP. NETProgramYou have to use Firefox. I have heard that Firefox is very powerful, especially for its powerful extensions, but I have never considered it for the following reasons: ie9 supports GPU hardware acceleration, ie9
(1)
Question 1: Get an element object reference. In IE, you can directly use the ID name of the element object. In Firefox, you can only use the getelementbyid (idname) method.
Solution: Use getelementbyid (idname ).
Question 2: Get the reference of the form element. In IE, you can use form. item ('username'). In Firefox, you can only use form. elements ['username']. (Note: var form = Document. getelementby
1.document.formname.item ("ItemName") problem
Note: Under IE, you can use Document.formName.item ("ItemName") or document.formname.elements["elementname"]; Firefox, you can only use the document.formname.elements["ElementName"].
Workaround: Unify the use of document.formname.elements["ElementName"].
2. Collection Class object problem
Note: IE, you can use () or [] get the Collection class object; Firefox, y
Article Title: thoroughly optimized so that Firefox is no longer stuck. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Firefox is the preferred browser for Linux users. You only need to check the comment of the LDCN visitor to know the popularity of the visitor.
Althoug
Firefox plug-in mechanism
For a Firefox plug-in, we first need to understand its organizational structure. Open a Firefox plug-in project, you usually see the following elements: chrome folder, defaults folder, chrome. manifest, install. rdf.
Let's start with install. rdf, and you will understand what this file is about compared to the file name. Yes, this file i
Skip to main content
Switch language
Skip to search
Ask a question
Sign In
中文版
Firefox
Editing Tools
Learn the Basics:get started
Download, install and migration
Firefox Sync
Customize controls, options and add-ons
Privacy and security settings
Fix slowness, crashing, error messages and other problems
Use the Profiles Manag
I. Document. formname. Item ("itemname ")Problem description: in IE, you can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname. elements ["elementname"].Solution: Use document. formname. elements ["elementname"].Ii. Collection objectsProblem description: in IE, you can use () or [] to obtain collection class objects. In Firefox, yo
Solve the hack writing of CSS compatibility in IE6, IE7, IE8, and Firefox
The biggest headache for every CSS adjustment is the browser correction problem, because each browser has different interpretations of CSS. Firefox itself is more disciplined and easier to handle, however, when you encounter Microsoft's ie series, the headers are big. Although they are all Internet Explorer, they have differ
I. document. formName. item ("itemName ")
Problem description: in IE, you can use document. formName. item ("itemName") or document. formName. elements ["elementName"]; In Firefox, only document. formName. elements ["elementName"].
Solution: Use document. formName. elements ["elementName"].
Ii. Collection objectsProblem description: in IE, you can use () or [] to obtain collection class objects. In Firefox
First, Document.formName.item ("itemname") problem
Problem description: Under IE, you can use Document.formName.item ("ItemName") or document.formName.elements ["ElementName"];firefox, You can only use the document.formname.elements["ElementName"].
Workaround: Unify the use of document.formname.elements["ElementName"].
problem of object of collection class
Problem Description: IE, you can use () or [] Get collection Class objects,
20 days ago Just in the CB issued a "Mozilla Firefox OS 1.4 and 1.5" release [1], and last night in Mozilla's FTP found the Firefox OS 2.0 emulator preview version of the plugin, interested in the installation experience.
It is understandable that the Firefox OS 1.5 simulator can be released in such a short time after the release of the 2.0 simulator. The fact i
Workaround, check the environment:Python 2.7.10Firefox version 46Selenium 2.53.6Note: The Firefox automatic update is turned off, otherwise the selenium use case may not be executed after an automatic upgrade.The error is as follows:Macbookpro:github apple$ Python3 Test.pytraceback (most recent call last): File "/library/frameworks/python.framework/ versions/3.4/lib/python3.4/site-packages/selenium/webdriver/common/service.py ", line-up, in Start Stdo
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.