Recently, Div, UL, and CSS are everywhere. My colleagues make a summary. It's good. The post is here.
1. UL labels have list-style and padding by default under ff, and IE has margin by default. the most suitable method is UL {list-style: none; margin: 0; padding: 0 ;}
2. Questions about height
If the content is added dynamically, do not define the height. It is best to set the height of static content.
3. Div highly adaptive
In ff, when div is nested with a float Div, the height of the external Div may not be adaptive. The solution can be to add <Div style = "clear: both "> </div>
4. FF, two divs are tied. One Div uses float, and the other does not use float. In this way, the two divs overlap and must be closed between the two divs.Code<Div style = "clear: both"> </div>)
5. FF, when defining the left and right structure of float, the right structure Div must be set with width. If it is not, 100% will be recognized, resulting in incorrect rows.
6. cursor: pointer can display the cursor finger in IE ff at the same time, and hand can only be Ie.
Finally, my colleague said: "In FF's normal opera, Netscape is basically normal, so we are harmed by Microsoft ".