1. Several Chinese characters are followed by a string of line breaks
Solution: Word-break: Break-all; Word-wrap: Break-word; display: block;
2. uL/OL Li may have gaps in IE6
To use float, add the Li width.
Solution: Li vertical-align: Top
3. Locate IE6. If it is not displayed, check if there is no clear floating.
4. The negative value of margin IE6 is not displayed. Check if a relative value can be added.
5. the IE page is displayed on the left to see if the document declaration is incorrect.
6. Check if the title is directly under the head in IE6.
7. Hack
_ Height for IE6
* Height for IE6, IE7, and travel 2. Versions
Position: absolute \ 9; for IE browsers
-Moz-and so on
Color: red! All important browsers
8. Solve the Problem of introducing JS with PNG into IFRAME
If (El. currentstyle. Position = "static") {If (El. nodename! = 'Html ') El. style. Position = "relative "}
If (El. currentstyle. Position = 'static ') {El. style. Position = 'relative ';}
9. var globalie6 =/MSIE 6/ig. Test (window. Navigator. useragent )&&! /MSIE [1-57-9]/ig. Test (window. Navigator. useragent );
10. Display ellipsis overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
11,
If (-[1,]) {
// Alert ("this is not an Internet Explorer! ");
} Else {
// Alert ("this is IE browser! ");
}
12,
There is a location in the scroll bar, and there is a problem solution in IE. Add a location in the parent level.
13. offsetparent IE does not support finding his parent directly by IE
Solution: This. parentnode. offsetparent in IE
Placeholder = "test"
Recently, I sorted out my blog and integrated all the relevant content into my blog on the blog site. The reposted content will indicate that it is not original.
Technology is what needs to be accumulated
The more books are read, the thinner the books are read, and the more thick the books are read.
Same technology,