Styled tables in trac's wiki

0

I have a table in trac's wiki, just a regular html table, and manager asks me to add some styling. What is the best way to accomplish this? I can write a script which inserts style attribute to every DOM element needed, but of course I wish to use something like style tag or anything else making this task less kludgy.

shabunc

Posted 2011-09-28T09:07:23.117

Reputation: 566

Answers

0

You didn't mention what Trac version you use. In general you can access Trac default CSS styling like so (wiki markup):

{{{
#!html
<table class="wiki">
  <tr>
    <th>Great stuff</th>
    <td>content</td>
    <td>some more...</td>
  </tr>
</table>
}}}

You find all valid CSS styles by browsing the repository (link is valid for current stable 0.12.3, but finding the same for other versions should be trivial from there).

hasienda

Posted 2011-09-28T09:07:23.117

Reputation: 126