Recent Changes
Recent Changes · Search:
 

HomePage


This demonstrates the following markup extensions:

  • refer to a labelled div using DIV(refID) markup
  • cause a div with a caption to “float” in the PDF
  PDF    

PDF settings (show)

We use the same technique as in labelled simple tables. Floating div with a caption spanning multiple columns is a framed div that floats in print. Although this example uses the frame class, the technique may be applied to any div. The example includes the optional multi-column layout for custom floats.

Floating div with a caption spanning multiple columns

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Suspendisse pede sapien, hendrerit id, pharetra et, pulvinar vitae, purus. In laoreet. Sed eu purus in nisi fringilla bibendum. Aliquam vel nibh. In eros tortor, ultrices eleifend, mollis non, gravida id, ipsum. Nullam sed massa. Pellentesque varius purus non turpis. Nunc id nisl vitae tellus iaculis dictum. In ullamcorper consectetuer neque. Donec vitae diam. Phasellus nisi.

To see how to use this feature, see the wiki source. We have set the custom float style and the prefix for the float number on Site.Print Template. To change the float style, press the options button.

Page last modified on 26 November 2008 at 01:29 PM