Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
72:editor_tables [2019/02/05 14:14] – created ext-bkkr | 72:editor_tables [2022/01/31 13:33] – sph | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tables ====== | ====== Tables ====== | ||
+ | |||
+ | ==== Insert a Table ==== | ||
+ | |||
+ | - Press the **Table** | ||
+ | - Select the number of **Rows** | ||
+ | - Select some formatting options. For more detailed formatting a CSS style can be applied with the **Advanced **- tab. | ||
+ | |||
+ | ==== Edit a Table ==== | ||
+ | |||
+ | A table can be modified after it was created with these instructions. | ||
+ | |||
+ | - Place your cursor on the table and right-click the mouse to open the context menu. Select **Table Properties**. | ||
+ | - Select new formatting options for your table. | ||
+ | - //Notice: The **Rows** | ||
+ | ==== Adding an image or text in the Table ==== | ||
+ | |||
+ | If a table contains images or text and the table does not fit into the browser window, it is shown in the mobile view as seen in the image below. Click anywhere on the table to view the table. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | In the case of images, they are only scaled down if a table width is specified. In the example above, if you want the image to be scaled down, specify a specific table width equal to or less than 100%. To specify the table width right click on the table and select Properties. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ==== Delete a Table ==== | ||
+ | |||
+ | Place your cursor on the table and right-click the mouse to open the context menu. Select **Delete Table**. | ||
+ | |||
+ | ==== Use CSS Styles for Tables ==== | ||
+ | |||
+ | 1. Insert a table and enter some text in the table header and cells. | ||
+ | |||
+ | 2. Enter at least the following CSS style definitions in the custom.css file on the Stages server because these styles are predefined in the standard.css file. The class name (in this example <font inherit/ | ||
+ | |||
+ | .stages_description .minimal_table_style table {} | ||
+ | .stages_description .minimal_table_style tr {} | ||
+ | .stages_description .minimal_table_style td {} | ||
+ | .stages_description .minimal_table_style th {} | ||
+ | .stages_description .minimal_table_style tr p, | ||
+ | .stages_description .minimal_table_style tr h1, | ||
+ | .stages_description .minimal_table_style tr h2, | ||
+ | .stages_description .minimal_table_style tr h3, | ||
+ | .stages_description .minimal_table_style tr img {} | ||
+ | |||
+ | </ | ||
+ | |||
+ | 3. Define the class name in the table properties advanced tab field **Stylesheet Classes**. | ||
+ | |||
+ | //Note: You can also enter an ID if you have a CSS definition with IDs//. | ||
+ | |||
+ | In this example, the style class is named <font inherit/ | ||
+ | |||
+ | < | ||
+ | .stages_description .minimal_table_style table { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | .stages_description .minimal_table_style tr { | ||
+ | | ||
+ | } | ||
+ | .stages_description .minimal_table_style td { | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | .stages_description .minimal_table_style th { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | .stages_description .minimal_table_style tr p, | ||
+ | .stages_description .minimal_table_style tr h1, | ||
+ | .stages_description .minimal_table_style tr h2, | ||
+ | .stages_description .minimal_table_style tr h3, | ||
+ | .stages_description .minimal_table_style tr img { | ||
+ | | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | This example uses the CSS id selector <font inherit/ | ||
+ | |||
+ | < | ||
+ | table# | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | # | ||
+ | | ||
+ | } | ||
+ | # | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | # | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | | ||
+ | } | ||
+ | |||
+ | </ | ||