Breaking News
yeni film izle hd film seyret film izle

Floats

fo:float produces a floating box anchored to the top of the region where it occurs. A fo:float is most commonly used for graphics, charts, tables or other out-of-line content that needs to appear somewhere on the page, although precisely where it appears is not particularly important. For example, this fo:block includes a floating graphic with a caption:
<fo:block>

  Although PDF files are themselves ASCII text,

  this isn't a book about PostScript, so there's

  nothing to be gained by showing you the exact

  output of the above command. If you're curious,

  open the PDF file in any text editor.

  Instead, Figure
 

  <fo:float float="before">

    <fo:external-graphic src="4760-7fg1901.jpg"

                         height="485px" width="623px" />

    <fo:block font-family="Helvetica, sans">

      <fo:inline font-weight="bold">

        Figure 19-1:

      </fo:inline>

      The PDF file displayed in Netscape Navigator

    </fo:block>

  </fo:float>

  shows the rendered file displayed in

  Netscape Navigator using the Acrobat plug-in.

</fo:block>

The formatter tries to place the graphic somewhere on the same page where the content surrounding the fo:float appears. However, it may not always be able to find room on that page. If it can’t, it moves the object to a subsequent page. Within those limits, it’s free to place it anywhere on the page.
The value of the float attribute indicates on which side of the page the fo:float floats. It can be set to before, start, end, left, right, none, or inherit.
The clear attribute can be set on elements near the floating object to indicate whether they’ll flow around the side of the float or whether they’ll move below the float.
It can have the values start (the start edge of the object must not be adjacent to a floating object), end (the end edge of the object must not be adjacent to a floating object), left (the left edge of the object must not be adjacent to a floating object), right (the right edge of the object must not be adjacent to a floating object), both (neither the left nor the right edge of the object may be adjacent to a floating object), none, or inherit.

Check Also

XSLT Element Index

XML is one of the most important of all recent innovations to hit the web. …