Post by Christina on Apr 9, 2018 15:07:32 GMT
Code courtesy of Gemma
[attr="class","rosenthal"]
[attr="class","rosenthal"]
Row 1 column 1 | Row 1 column 2 | Row 1 column 3 |
Row 2 column 1 | Row 2 column 2 | Row 2 column 3 |
Customizable Tables
[div][attr="class","rosenthal"][attr="id","#2d5959|#D8E0E0|#2d5959|#EBEFEF"]
[table][tbody][tr][td style="padding:3px;"]Row 1 column 1[/td][td style="padding:3px;"]Row 1 column 2[/td][td style="padding:3px;"]Row 1 column 3[/td][/tr][tr][td style="padding:3px;"]Row 2 column 1[/td][td style="padding:3px;"]Row 2 column 2[/td][td style="padding:3px;"]Row 2 column 3[/td][/tr][tr][td style="padding:3px;"]Row 2 column 1[/td][td style="padding:3px;"]Row 2 column 2[/td][td style="padding:3px;"]Row 2 column 3[/td][/tr][tr][td style="padding:3px;"]Row 2 column 1[/td][td style="padding:3px;"]Row 2 column 2[/td][td style="padding:3px;"]Row 2 column 3[/td][/tr][/tbody][/table][/div]
- Table needs to be wrapped in a div
- Div needs attr tag for class (rosenthal) + id (the 4 colours)
- Must be 4 HEX colours separated by |
- #BORDER|#ODDROWS|#HEADERROW|#HIGHLIGHT