Download OpenCms 6 User's Guide
Transcript
Editing Page 46 Finally select the table again and click on the Align right-button. Your editor should look something like the one shown in Illustration 77. Illustration 78 shows how the final page looks like when using the demo template we using for these examples-. As you can see there a plenty of room for creativity when using tables. You could just as well mirrored the example so the text would flow to the right of the image. Or have the caption above or to the side of the image. The styles defined by the template you use may offer different means to do the same, and if so, these are preferred over this approach. The described method will work with the various browser, but tables in HTML are intended for use with tabular data, e.g. numbers in rows and columns. Using tables for layout purposes, as we just did, is not in strict accordance with the intention. Thusly if your setup provides more suitable methods to control specific layout task such image captions, then you should use that method and only use tables for layout if there is no alternative. Illustration 77: Text can flow around more than just images, it works with other elements such as tables as well. OC-6.0-UG-EN rev. 233 Copyright © 2005-2008 CodeDroids ApS