![]() ![]() Insert as many columns as you like within the section. Find the Section macro, select it and insert it onto the page.In the Confluence editor, choose Insert > Other Macros.To add a section and some columns to a page: can also see that the column widths arent based on pixel widths theyre percentage-based. The Section and Column macros are useful if you want to define a specific percentage or pixel width for each column. A three-column layout is a simple variation of this code. Within each section, you can have as many columns as you like. You can have as many sections as you like. The Section macro defines an area that will contain the columns. You can use the Section and Column macros to add a set of columns to the page. If a column includes an item that's too wide for it, you'll see a horizontal scroll bar when viewing the page. In most cases, Confluence will adapt the width of the columns to fit the width of the page. The icons in the drop-down menu indicate the relative widths for each layout. Very wide tables – The width of each column is set to a percentage of the page width.If you need more than three columns, or columns of a specific width, you should use the Section and Column macros described below. Column width – The width of the columns are a fixed percentage.When you publish the page the layout will be removed. If you need flex items to line up in the cross axis, controlling the width in this way will achieve that. If you need to remove all layouts from a page, move all the content into one section, and set that section to be a single column. Here I have set flex-grow and flex-shrink to 0 to make inflexible flex items and I'm then controlling flexibility using percentages, just like we used to do in float layouts. The section and all of its content will be removed. Place your cursor in the section you wish to remove.The section and all of its content will be moved above or below other sections on the page. Choose the Move up or Move down buttons.Place your cursor in the section you wish to move.To move a section to another part of the page: When you increase the number of columns, Confluence will add blank columns to the right of your existing content. Colmid is inside colmask and colleft is inside colmid. When you decrease the number of columns, Confluence will move your content to the left. The header, colmask and footer divs are 100 wide and stacked vertically one after the other. Choose a layout from the page layout toolbar (for example, two columns or three columns)Īny text, images or macros in your section are not lost when you change the column layout.Place your cursor in the section you wish to change.To change the column layout in a section: ![]() The new section appears below your current content, with the boundaries of the section(s) indicated by dotted lines (the dotted lines aren't visible when you view the page). Choose the Page Layout button in the toolbar.Start by adding a horizontal section to your page. Screenshot: Editor view of a page showing three sections with different column configurations. By adding multiple sections with different column configurations you can build quite complex layouts very easily. The page layouts tool allows you to structure your page using horizontal sections and vertical columns. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |