On 4/1/2010 10:51 AM, Roger Oberholtzer wrote:
In the WikiHtml doc page, there is an example of using the div directive
to get text into a box. It uses a class called 'important'. I confess
that I am not an HTML programmer. Beyond the simplest stuff. I googled
this, but only got generic info on the class directive. It implied that
the values were locally defined. Nonetheless, how could I find which
ones are available (pre-defined) in a Trac wiki page?


None yet, besides the documented ones, "important" and "wiki", the latter being the default used if you specified no other class explicitly. "wiki" adds some left margin to compensate for the negative left margin used for headings. You can also specify class="" so that the "wiki" default class is not used

I think it would be nice to have a few more default classes, like MoinMoin's admonitions (http://moinmo.in/HelpOnAdmonitions).

Adding local classes can be done via a local site.css, see http://trac.edgewall.org/wiki/CookBook/SiteStyleCss for some examples.

-- Christian

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to