JSSTag.clear (Property)

A property that clears the style and forces the object to be displayed below a left- or right- aligned image.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.clear
NmyJSSTag.clear = aControl
CSS syntax:clear: aControl
HTML syntax:<... CLEAR="...">
Argument list:aControla clear control value

The JSSTag.clear property corresponds to the clear CSS property.

This property is used to control the floating elements around the element to which the styling applies. Clearing the float attribute to one side or the other forces a line break on that side and will not allow floating elements to flow into an adjacent position.

The following values are permitted:

The default value for this property is "none".

This value is not inherited from its parent container element.


See also:style.clear