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