Suppose there are such HTML tags:
β<span>
<span id='s1'>Text 1</span>
<span id='s2'>Text 2</span>
</span>ββββββββββββββββββββββββββββββββββββββββββββββββββ
And css style:
β#s1 {
float: left;
}
#s2 {
float: right;
}
What is the standard display behavior?
In some browser I see
Text 1 Text 2
In some version of IE, I see
Text 1
Text 2
It seems that float: the right range shifts to the next line.
source
share