Clear
回り込みを中止します。
フロートで指定された要素の回り込みを、好きなところで中止させることができます。「both」を指定すると左右の回り込みを中止させます。
●関連プロパティ
{ clear : left | right | both }
右回りこみ中止
右回りこみを指定した要素の右に回りこみを中止します。
{ clear : left }
<p style="float: left;">
<img border="0" src="img_dog_60.gif" width="60" height="60"></p>
<p>Dynamic HTML (DHTML) is a set of innovative features in Microsoft®
Internet Explorer 4.0.
<span style="clear: left; color: rgb(255,102,0)">By enabling authors
to dynamically change the rendering and content of a document, DHTML gives
authors the ability to create visually outstanding HTML documents that interact
with the user without the burden of relying on server-side programs or complicated
sets of HTML pages to achieve special effects.</span></p>

Dynamic HTML (DHTML) is a set of innovative features in Microsoft® Internet Explorer 4.0. By enabling authors to dynamically change the rendering and content of a document, DHTML gives authors the ability to create visually outstanding HTML documents that interact with the user without the burden of relying on server-side programs or complicated sets of HTML pages to achieve special effects.
左回りこみ中止
左回りこみを指定した要素の左に回りこみを中止します。
{ clear : right }
<p style="float: right;">
<img border="0" src="img_dog_60.gif" width="60" height="60"></p>
<p>Dynamic HTML (DHTML) is a set of innovative features in Microsoft®
Internet Explorer 4.0.
<span style="clear: right; color: rgb(255,102,0)">By enabling authors
to dynamically change the rendering and content of a document, DHTML gives
authors the ability to create visually outstanding HTML documents that interact
with the user without the burden of relying on server-side programs or complicated
sets of HTML pages to achieve special effects.</span></p>

Dynamic HTML (DHTML) is a set of innovative features in Microsoft® Internet Explorer 4.0. By enabling authors to dynamically change the rendering and content of a document, DHTML gives authors the ability to create visually outstanding HTML documents that interact with the user without the burden of relying on server-side programs or complicated sets of HTML pages to achieve special effects.
|
|
|
|---|