<html>
<body>
<p style="width:30%;">text1</p>
<p style="float:left;">text2</p>
</body>
</html>
The effect of this html code is : text1 and text2 each is on a line. My
question is: Why text2 is positioned on the right of text1? Because the
CSS2.1 said: A floating element must be placed as high as possible; A
left-floating element must be put as far to the left as possible; A higher
position is preferred to one that is further to the right or left. If text2
was positioned on the right of text1, I cannot see any conflict with the
rules for floated element.
Seems a silly question. Can somebody give me hints? Thanks.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/