I have nothing to do today. I plan to organize common CSS for future use. As expected, IE6 made me Tangle again.
HtmlCode:
<DivClass= "Test"Style= "">Ddaaaaaaaaaaaaaaaaaa</Div>
CSS code:
. Test { Position : Absolute ;
Top : 300px ; Right : 500px ; Left : 0 ; Bottom : 0 ;
Zoom : 1 ; _ Display : Block ; Background-color : #000 ; Color : # Fff ; }
Test is an absolutely positioned Div. Note that the height and width of test are not defined in CSS code. However, normally, in a non-IE6 browser, the test area is automatically stretched (no matter how much content) to meetTop: 300px; Right: 500px; left: 0; bottom: 0;And other positioning conditions. However, in IE6, test is not stretched at all, and its region is its content zone. The positioning values take precedence over left and top, and right and bottom do not take effect-although they are more in line with the proximity principle.
-----
By the end of this article, I have tried almost all the methods I know, but I cannot automatically extend the test in IE6... If anyone can solve this problem during the study, please leave a message and I am very grateful.