> I want to add a secondary heading to a table

This isn't quite so simple, as tables aren't necessarily meant to be 
used that way.
However, there's a possible workaround.

Normally, a table should look like this[1]:
     |!Heading 1|!Heading 2|!Heading 3|h
     |lorem|ipsum|dolor|

So instead of defining both a heading row ("|...|h") and header cells 
(|!...|), you can opt for just one of those and use this:
     |myCustomTable|k
     |Heading 1-1|Heading 1-2|Heading 1-3|h
     |lorem|ipsum|dolor|
     |!Heading 2-1|!Heading 2-2|!Heading 2-3|
     |sit|amet|consectetur|
(note the custom CSS class at the top)

Then in your StyleSheet you can define custom styles:
     .myCustomTable thead {
         font-weight: bold;
     }

     .myCustomTable th {
         background-color: #f00;
     }

Alternatively, you could use inline styling for cells (also explained on 
the wiki page below), or perhaps even a plugin (e.g. DOMTweaksPlugin[2]).

> Also, is there any sort of guide to the various tiddlywiki sections
> out there? As in, headerShadow and viewer and all that.

I'm afraid there's no comprehensive, authoritative guide yet.
However, there's the community wiki (referenced above), and quite a 
number of people have written guides from a variety of perspectives[3].

HTH.


-- F.


[1] http://www.tiddlywiki.org/wiki/Tables
[2] http://www.tiddlytools.com/#DOMTweaksPlugin
[3] http://www.tiddlywiki.org/wiki/TiddlyWiki_Resources

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to