I made a table, which shows in a somewhat hierarchical way a set of
libraries for microcontrolers (PICs), based on the idea of the periodic
table. This should become a general download site for all available
libs. Now it would be very nice to let the cell and table borders
disappear.
I've also tried to embed the table as an html-part, but that really
gives garbage (even worse in Mozilla than in IE ;-)
You can see what I mean here (at the moment only the INC-file Tiddler)
http://oase.uci.kun.nl/~mientki/tiddly_test1.html
thanks,
Stef Mientki
Stef,
If you don't have a tiddler named StyleSheet, then create one, and put in it:
.viewer table { border: none; }.viewer td, tr { border: none; }
To tinker with things under the hood in general, notice that many settings are located in "shadow tiddlers". Each shadowed tiddler won't appear in your lists until and unless you modify it.
So, you might create somewhere a place to view these shadowed items. (I have a tiddler called "AdminStuff" for things like this.) Just type in:
<<list shadowed>>
and when you hit "done", you should see there a list of the places where magical css and template settings are all stored.
I think that this:
.viewer td, tr { border: none; }
should be:
.viewer td, .viewer tr, .viewer tbody, .viewer th { border: none; }
HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
or, with InlineJavascriptPlugin, you can use this 'one-liner':
|A|B|C|
|1|2|3|
|x|y|z|
<script>place.lastChild.className="noBorder"</script>
Then, as Udo has already described, use CSS in a StyleSheet tiddler to
define the .noBorder class.
-----TiddlerContent--------
|A|B|C|
|1|2|3|
<script>place.lastChild.className="borderless"</script>
----- StyleSheet ---------
.borderless, .borderless td, .borderless tr, .borderless th,
.borderless tbody
{ border:0px solid #000 !important; }
Thanks Udo, great improvement. In 2.0.5
Cheers
Jeremy
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com