最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

clear Attribute | clear Property

Internet Development Index

Sets or retrieves whether the object allows floating objects on its left side, right side, or both, so that the next text displays past the floating objects.

Syntax

HTML { clear : sClear }
Scriptingobject.style.clear(v) [ = sClear ]

Possible Values

sClearString that specifies or receives one of the following values.
noneDefault. Floating objects are allowed on both sides.
leftObject is moved below any floating object on the left side.
rightObject is moved below any floating object on the right side.
bothObject is moved below any floating object.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of none. The Cascading Style Sheets (CSS) attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The value of this property lists the sides where floating objects are not accepted.

Examples

The following examples use the clear attribute and the clear property to specify placement of text relative to floating objects.

This example uses a call to an embedded (global) style sheet to move the text below the floating objects when italic text is encountered.

<STYLE>
I { clear:left }
</STYLE>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

This example changes the position of the paragraph relative to the floating object on its left side.

<HEAD>
<SCRIPT>
function fnClear(){
oClear.style.clear="left";
}
function fnClear2(){
oClear.style.clear="none";
}
</SCRIPT>
</HEAD>
<BODY>
<img src="../common/sphere.jpg" style="float:left">
<SPAN ID="oClear">
<P>This is an example of the clear attribute.<P>
</span>
<P>
<INPUT TYPE=button value="clear = left" onclick="fnClear()">
<INPUT TYPE=button value="clear = none" onclick="fnClear2()">
</P>
</BODY>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link and is defined in Cascading Style Sheets (CSS), Level 1 (CSS1) Non-Microsoft link.

Applies To

A, ADDRESS, APPLET, B, BIG, BLOCKQUOTE, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, currentStyle, CUSTOM, DD, defaults, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FORM, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
响水县| 湘阴县| 深州市| 原平市| 集贤县| 江孜县| 翁牛特旗| 江安县| 分宜县| 平安县| 德昌县| 吉木乃县| 昌都县| 报价| 景德镇市| 西贡区| 康平县| 明溪县| 崇仁县| 阿克苏市| 左贡县| 广昌县| 牡丹江市| 山阴县| 屯留县| 中卫市| 紫云| 洛川县| 乐陵市| 湛江市| 东兴市| 达日县| 资中县| 黄冈市| 杭州市| 玉门市| 兴文县| 临潭县| 醴陵市| 灵石县| 阿城市|