Changes between Version 11 and Version 12 of TablePlugin/docs
- Timestamp:
- Aug 5, 2012, 4:37:33 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TablePlugin/docs
v11 v12 103 103 Table Styles define a full set of styles that can be applied to a table. They are written in CSS. 104 104 105 Table Styles are written as follows:105 Table Styles are defined and written as follows: 106 106 107 107 {{{ … … 118 118 119 119 {{{ 120 @css header: 121 font-weight: bold; 122 text-align: center; 123 }}} 124 125 Written as pure CSS, under the @css <NAME>: definition. 126 127 This @header style can then be applied to any of the following elements: 128 - @row 129 - @column 130 - @<cell_name> 131 132 In the above example, we could do the following to the first row (which corresponds to the header). The other data has been omitted for brevity. 133 134 {{{ 135 136 #!... <snip> ... 137 138 @row (@header) 139 @task: Task 140 @details: Details 141 @status: Status 142 143 #!... <snip> ... 120 144 121 145 }}} 122 146 147 This will now enforce centering of the text along with making it bold. Any other valid CSS can be used here as well. For example, `background: green;` could also be added to make the header cells background green. 148 123 149 == Usage ==