Hi Dave,

thank you very much for your help. That did the trick although I had to 
completely reload TW before seeing the effect.

Best regards
Boris

Von: [email protected] [mailto:[email protected]] Im 
Auftrag von David Gifford
Gesendet: Dienstag, 20. Dezember 2016 14:49
An: [email protected]
Betreff: Re: [tw] Re: Sample tables in TW5 mall

Hi Boris
TW5 mall is really old stuff and I don't really support it anymore, but gladly 
will try to help you out
1. Try replacing html body in all the lines with html body.tc-body
2. Make sure the Stylesheet's tiddler type is text/css and that it is tagged 
$:/tags/Stylesheet
3. Make sure you don't have any bad CSS above the stuff that doesn't work.

Dave

On Tue, Dec 20, 2016 at 5:00 AM, Boris Budeck 
<[email protected]<mailto:[email protected]>> wrote:
No longer working under TW5 version 5.1.13. At least it didn't work for me 
using Firefox. Can someone approve please? Currently no background-color trick 
described seems to work under TW5.

Am Freitag, 11. Oktober 2013 19:11:48 UTC+2 schrieb Stephan Hradek:
Good stuff you did!

I'd like to add something. Feel free to include it in your TidlyWiki.

You write in Add CSS to your tables at  Hijack the exclamation mark to 
highlight individual cells  "Unfortunately, the table markup for TiddlyWiki 5 
doesn't allow you to add CSS inside individual cells. However, if your table 
doesn't need a header, you can use the exclamation mark (!) to format 
individual cells in a table instead of using it for the header."

I'd like to show a wqay how you can use BOTH! Headers AND highlighting cells.

For this I "stole" your psychotable:

This is the tiddler content using the psychotable:

|psychotable|k
|!Header one|!Header two|!Header three|
|Cell 1|Cell 2|Cell 3|
|Cell 4|!Cell 5|Cell 6|
|Cell 7|Cell 8|Cell 9|

And here is another "psychotable" with row headers

!Psycho table with Row Headers

|psychotableR|k
|!Header one|Cell 1|Cell 2|Cell 3|
|!Header two|Cell 4|!Cell 5|Cell 6|
|!Header three|Cell 7|Cell 8|Cell 9|

And here is the corresponding CSS:

/*PSYCHOTABLE*/

html body .psychotable tr:first-child th {background-color:#ff0099;}
html body .psychotable td {background-color:#ff9933;}
html body .psychotable {border-color:#ff0033;border-width:10px;}
html body .psychotable th {background-color:#00ff00;}

/*PSYCHOTABLER*/

html body .psychotableR tr th:first-child {background-color:#ff0099;}
html body .psychotableR td {background-color:#ff9933;}
html body .psychotableR {border-color:#ff0033;border-width:10px;}
html body .psychotableR th {background-color:#00ff00;}

You see: It's simply done by adding the pseudo class ":first-child" to either 
tr or th to distinguish a real header from a highlighted cell.
--
You received this message because you are subscribed to a topic in the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/tiddlywiki/-VAUumD1y1w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73ae4802-9253-467f-9bda-5b7266497973%40googlegroups.com<https://groups.google.com/d/msgid/tiddlywiki/73ae4802-9253-467f-9bda-5b7266497973%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.



--
David Gifford
Christian Reformed World Missions, Mexico City
--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFKcvHQmvgKWyq%3DvKnYj-Z12kh2u4i9y21ZUL3bwO3rPVQ%40mail.gmail.com<https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFKcvHQmvgKWyq%3DvKnYj-Z12kh2u4i9y21ZUL3bwO3rPVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.



[http://news.xqueue.com/ff/img/signature/xqueuelogo2012.jpg]<http://www.xqueue.com>

Boris Budeck
Marketing & Vertrieb

T: 069 8300 898 - 73
F: 069 8300 898 - 0
E: [email protected]<mailto:[email protected]>      XQueue GmbH
Advanced E-Mail-Marketing Technologies

Christian-Pless-Str, 11-13
63069 Offenbach am Main
www.xqueue.de<http://www.xqueue.de>



[http://news.xqueue.com/cust/5113/img/signature/1.jpg]<http://news.xqueue.com/ff/ch.php?cmd=go0&vas=71200306>



[http://news.xqueue.com/cust/5113/img/signature/2.jpg]<http://news.xqueue.com/ff/ch.php?cmd=go0&vas=71200307>
   [http://news.xqueue.com/cust/5113/img/signature/3.jpg] 
<http://news.xqueue.com/ff/ch.php?cmd=go0&vas=71200308>



Geschäftsführer: Frank Strzyzewski
HRB: 12442, Registergericht: Offenbach am Main, USt-Id.Nr.: DE 221794621

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/DB5PR0901MB1285F9A9049CB782F9B552D2E9900%40DB5PR0901MB1285.eurprd09.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to