Can realize the Keyword association, search box; a collection of Baidu, Google, Sogou, 360, Tencent and many other search
Code for search.html:
Search Box Example & lt;! --start search--> site search Baidu search 360 search
CSS gradient design for Gecko engine linear gradient basic syntax
-moz-linear-gradient ([ | | ,]?,[,]*)
Parameter description:
: Defines the starting point of the gradient, with values that include values, percentages, or keywords, where the
CSS gradient design for Gecko engine linear gradient basic syntax
-moz-linear-gradient([ || ,]?,[,]*)
Parameter description:
: Defines the starting point of a gradient, which contains a value, a percentage, or a keyword, where the left,center and
This article mainly introduces the notes of CSS3 practice-gradient design (2. For more information, see
CSS gradient design of Gecko engine basic syntax of linear gradient
-moz-linear-gradient([
|| ,]?
,
[,
]*)
Css:1.The UL tag in FF has a padding value, but there is no margin value, and in IE is the oppositeSolution: The UL padding and margin are set to 0 (also can not 0) such as: Padding:0;margin:0;list-style:none;Another form default in IE will also
(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
Javascript compatibility with multiple browsersI. document. formName. item ("itemName ")Problem description: in IE, you can use document. formName. item ("itemName") or document. formName. elements ["elementName"]; In Firefox, only document.
1, the discovery of IE under the input label ID attribute the default and name properties are the same, and Firefox must explicitly write out the name of the id attribute, or you can not use the id attribute.
such as:
In IE under the following code
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
In the process of developing a multilingual Java Web site, it is found that many of the code in FF can run normally, but not in IE, and vice versa. The incompatible and unified methods of IE and Firefox (Firefox) in JavaScript are summarized as
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.