Changes between Version 11 and Version 12 of TablePlugin/docs


Ignore:
Timestamp:
Aug 5, 2012, 4:37:33 PM (12 years ago)
Author:
jonny
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TablePlugin/docs

    v11 v12  
    103103Table Styles define a full set of styles that can be applied to a table. They are written in CSS.
    104104
    105 Table Styles are written as follows:
     105Table Styles are defined and written as follows:
    106106
    107107{{{
     
    118118
    119119{{{
     120@css header:
     121    font-weight: bold;
     122    text-align: center;
     123}}}
     124
     125Written as pure CSS, under the @css <NAME>: definition.
     126
     127This @header style can then be applied to any of the following elements:
     128    - @row
     129    - @column
     130    - @<cell_name>
     131
     132In 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> ...
    120144
    121145}}}
    122146
     147This 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
    123149== Usage ==