Schema Central > XSL-FO 1.1 > fo.xsd > fo:float
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

fo:float

Serves two purposes. It can be used so that during the normal placement of content, some related content is formatted into a separate area at beginning of the page (or of some following page) where it is available to be read without immediately intruding on the reader. Alternatively, it can be used when an area is intended to float to one side, with normal content flowing alongside.

See http://www.w3.org/TR/xsl11/#fo_float.

Element information

Namespace: http://www.w3.org/1999/XSL/Format

Schema document: fo.xsd

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
float [0..1]AnonymousWhether a box should float to the left, right, or not at all. It may be set for elements that generate boxes that are not absolutely positioned. CSS2 Reference: from group fo:float
clear [0..1]AnonymousWhich 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: from group fo:clear
id [0..1]fo:idAn identifier unique within all objects in the result tree with the fo: namespace. It allows references to this formatting object by other objects.from group fo:id
index-class [0..1]fo:stringAssociates an index class with a formatting object that also has an index key specified.from group fo:index-class
index-key [0..1]fo:stringAssociates an index key with the formatting object on which it is specified.from group fo:index-key

Used in

Sample instance

<fo:float>
   <fo:block>Any text, intermingled with:
      <fo:block>Any text, intermingled with:
         <fo:block>Any text, intermingled with:...
         </fo:block>
      </fo:block>
   </fo:block>
</fo:float>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com