<div id='p'> <div id='c1'> </div> <div id='c2'> </div> <div id='c3'> <span id='s1'> </span> <span id='s2'> </span> <span id='s3'> I want to display myself in the same line with element #c1,…
A floated box is shifted to the left or right until its outer edge touches the containing block edge or the outer edge of another float. If there's a line box, the top of the floated box is aligned with the top of the current line box. 由上面的描述可以得到以下结…