47 | | #!div class="important" style="border: 2pt solid; text-align: center" |
48 | | This is the ''only'' way to go in Trac 0.11 |
49 | | }}} |
50 | | |
51 | | {{{ |
52 | | #!div class="wikipage" style="border: 1pt dotted" |
53 | | Only `wikipage` (same as specifying no class attribute) |
54 | | }}} |
55 | | |
56 | | {{{ |
57 | | #!div class="wikipage compact " style="border: 1pt solid" |
58 | | Use combined classes (`compact` and `wikipage`) |
59 | | }}} |
60 | | |
61 | | {{{ |
62 | | #!div class="compact" style="border: 1pt dotted" |
63 | | Only `compact` |
64 | | }}} |
65 | | |
66 | | {{{ |
67 | | #!div class="" style="border: 1pt solid" |
68 | | No classes (//not// the same as specifying no class attribute...) |
| 47 | #!div class="important" |
| 48 | **important** is a predefined class. |
| 49 | }}} |
| 50 | }}} |
| 51 | {{{ |
| 52 | {{{ |
| 53 | #!div style="border: 1pt dotted; margin: 1em" |
| 54 | **wikipage** is another predefined class that will |
| 55 | be used when no class is specified. |
| 56 | }}} |
| 57 | }}} |
| 58 | {{{ |
| 59 | {{{ |
| 60 | #!div class="compact" style="border: 1pt dotted; margin: 1em" |
| 61 | **compact** is another predefined class reducing |
| 62 | the padding within the `<div>` to a minimum. |
| 63 | }}} |
| 64 | }}} |
| 65 | {{{ |
| 66 | {{{ |
| 67 | #!div class="wikipage compact" style="border: 1pt dotted" |
| 68 | Classes can be combined (here **wikipage** and **compact**) |
| 69 | which results in this case in reduced //vertical// |
| 70 | padding but there's still some horizontal space for coping |
| 71 | with headings. |
| 72 | }}} |
| 73 | }}} |
| 74 | {{{ |
| 75 | {{{ |
| 76 | #!div class="" style="border: 1pt dotted; margin: 1em" |
| 77 | Explicitly specifying no classes is //not// the same |
| 78 | as specifying no class attribute, as this will remove |
| 79 | the //wikipage// default class. |
73 | | {{{ |
74 | | #!div class="important" style="border: 2pt solid; text-align: center" |
75 | | This is the ''only'' way to go in Trac 0.11 |
76 | | }}} |
77 | | |
78 | | {{{ |
79 | | #!div class="wikipage" style="border: 1pt dotted" |
80 | | Only `wikipage` (same as specifying no class attribute) |
81 | | }}} |
82 | | |
83 | | {{{ |
84 | | #!div class="wikipage compact " style="border: 1pt solid" |
85 | | Use combined classes (`compact` and `wikipage`) |
86 | | }}} |
87 | | |
88 | | {{{ |
89 | | #!div class="compact" style="border: 1pt dotted" |
90 | | Only compact |
91 | | }}} |
92 | | |
93 | | {{{ |
94 | | #!div class="" style="border: 1pt solid" |
95 | | No classes (//not// the same as specifying no class attribute...) |
96 | | }}} |
| 84 | |
| 85 | {{{ |
| 86 | #!div class="important" |
| 87 | **important** is a predefined class. |
| 88 | }}} |
| 89 | |
| 90 | {{{ |
| 91 | #!div style="border: 1pt dotted; margin: 1em" |
| 92 | **wikipage** is another predefined class that will |
| 93 | be used when no class is specified. |
| 94 | }}} |
| 95 | |
| 96 | {{{ |
| 97 | #!div class="compact" style="border: 1pt dotted; margin: 1em" |
| 98 | **compact** is another predefined class reducing |
| 99 | the padding within the `<div>` to a minimum. |
| 100 | }}} |
| 101 | |
| 102 | {{{ |
| 103 | #!div class="wikipage compact" style="border: 1pt dotted" |
| 104 | Classes can be combined (here **wikipage** and **compact**) |
| 105 | which results in this case in reduced //vertical// |
| 106 | padding but there's still some horizontal space for coping |
| 107 | with headings. |
| 108 | }}} |
| 109 | |
| 110 | {{{ |
| 111 | #!div class="" style="border: 1pt dotted; margin: 1em" |
| 112 | Explicitly specifying no classes is //not// the same |
| 113 | as specifying no class attribute, as this will remove |
| 114 | the //wikipage// default class. |
| 115 | }}} |
| 116 | |