clear
Which sides of an element's box(es) may not be adjacent to an earlier floating box. (It may be that the element itself has floating descendants; the 'clear' property has no effect on those.) CSS2 Reference: "clear" property
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
Valid value Description start Each area generated by the formatting object must clear every start-float whose parent reference-area is the nearest ancestor reference-area of the generated area, provided the start-float was generated by an fo:float that is before this formatting object, using pre-order traversal order of the formatting tree. Additionally specifies that each area generated by the formatting object must be placed so that the reference-area chain containing the generated area's nearest ancestor reference-area does not contain a later reference-area that is the parent of a start-float generated by an fo:float that is before this formatting object, using pre-order traversal of the formatting tree. end Each area generated by the formatting object must clear every end-float whose parent reference-area is the nearest ancestor reference-area of the generated area, provided the end-float was generated by an fo:float that is before this formatting object, using pre-order traversal order of the formatting tree. Additionally specifies that each area generated by the formatting object must be placed so that the reference-area chain containing the generated area's nearest ancestor reference-area does not contain a later reference-area that is the parent of an end-float generated by an fo:float that is before this formatting object, using pre-order traversal of the formatting tree. left Interpreted as "clear='start'". right Interpreted as "clear='end'". inside Each area generated by the formatting object must clear every inside-float whose parent reference-area is the nearest ancestor reference-area of the generated area, provided the inside-float was generated by an fo:float that is before this formatting object, using pre-order traversal order of the formatting tree. Additionally specifies that each area generated by the formatting object must be placed so that the reference-area chain containing the generated area's nearest ancestor reference-area does not contain a later reference-area that is the parent of an inside-float generated by an fo:float that is before this formatting object, using pre-order traversal of the formatting tree. outside Each area generated by the formatting object must clear every outside-float whose parent reference-area is the nearest ancestor reference-area of the generated area, provided the outside-float was generated by an fo:float that is before this formatting object, using pre-order traversal order of the formatting tree. Additionally specifies that each area generated by the formatting object must be placed so that the reference-area chain containing the generated area's nearest ancestor reference-area does not contain a later reference-area that is the parent of an outside-float generated by an fo:float that is before this formatting object, using pre-order traversal of the formatting tree. both Each area generated by the formatting object must clear every side-float whose parent reference-area is the nearest ancestor reference-area of the generated area, provided the side-float was generated by an fo:float that is before this formatting object, using pre-order traversal order of the formatting tree. Additionally specifies that each area generated by the formatting object must be placed so that the reference-area chain containing the generated area's nearest ancestor reference-area does not contain a later reference-area that is the parent of a side-float generated by an fo:float that is before this formatting object, using pre-order traversal of the formatting tree. none This property does not impose any constraints. inherit
Used in
- Attribute group fo:clear
- Anonymous type of element fo:block via reference to fo:clear
- Anonymous type of element fo:block-container via reference to fo:clear
- Anonymous type of element fo:float via reference to fo:clear
- Anonymous type of element fo:list-block via reference to fo:clear
- Anonymous type of element fo:table via reference to fo:clear
- Anonymous type of element fo:table-and-caption via reference to fo:clear
- Attribute group fo:float-related-properties via reference to fo:clear