Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.