Re: [tw] Can I have Different Table Style?

2015-05-13 Thread Jeremy Ruston
Hi Danielo

Could you expand a bit that k class thing?
>

Basically, each table row marked with a "k" specifies a class to be added
to the table element. It's documented at the end of this tiddler:

http://tiddlywiki.com/#Tables%20in%20WikiText

It's a feature of the table wikitext that was carried over from TWC.

Best wishes

Jeremy.


> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/69759c47-6e62-4bed-9c08-981fb2ec7ea9%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbf%3D1AVBwd%2BnB8AXoKaGFTyTMXVpDaOzpz9rVPO%2BfN1rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Can I have Different Table Style?

2015-05-13 Thread Danielo Rodríguez
Hello Jeremy, 

Could you expand a bit that k class thing? 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69759c47-6e62-4bed-9c08-981fb2ec7ea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Can I have Different Table Style?

2015-05-12 Thread James
Thanks Jeremy,

It works now.  


On Tuesday, 12 May 2015 19:59:28 UTC+8, Jeremy Ruston wrote:
>
> Hi James
>
>
> I able to apply the class on my table, but the table header remain as 
>> default grey color.  Is there any way I can change it?
>>
>
> You'll also need to create a stylesheet that defines the appropriate 
> class; apologies I took it from your earlier post that you already had one 
> set up. To define a new stylesheet, create a tiddler with the tag 
> $:/tags/Stylesheet and the following content:
>
> html table {
> border: 1px solid red;
> }
>
> html table th, html table td {
> border-top: 1px solid blue;
> border-left: 1px solid green;
> }
>
> html table thead tr td, html table th {
> background-color: purple;
> }
>
> html table tfoot tr td {
> background-color: orange;
> }
>
> By the way, if all you want to do is to globally change the table header 
> or footer background colours then you can do so by creating a custom 
> palette - see the "Appearance"/"Palette" tab of control panel.
>
> Best wishes
>
> Jeremy
>
>
>
>  
>
>>
>>
>>
>> On Tuesday, 12 May 2015 04:06:43 UTC+8, Jeremy Ruston wrote:
>>>
>>> Hi James
>>>
>>> You can add a class to a table with a special row marked with a "k" like 
>>> this:
>>>
>>> |myclass|k
>>> |the |rest |of |my |table |
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>> On Mon, May 11, 2015 at 3:13 AM, James  wrote:
>>>
 The table design, especially the table header fall back to the default 
 design "grey color" when I use the classic "@@." command to define the CSS 
 style for my table.
 When I define it in HTML format, ">>>
 Can anyone guide me on this?

 Thanks.

 -- 
 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 tiddlywiki+...@googlegroups.com.
 To post to this group, send email to tiddl...@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/943ac901-5dea-433c-ba90-c54bd546c03a%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Jeremy Ruston
>>> mailto:jeremy...@gmail.com
>>>  
>>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>  

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b60b5203-1cdb-4328-8186-7ea163b7d107%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Can I have Different Table Style?

2015-05-12 Thread Jeremy Ruston
Hi James


I able to apply the class on my table, but the table header remain as
> default grey color.  Is there any way I can change it?
>

You'll also need to create a stylesheet that defines the appropriate class;
apologies I took it from your earlier post that you already had one set up.
To define a new stylesheet, create a tiddler with the tag
$:/tags/Stylesheet and the following content:

html table {
border: 1px solid red;
}

html table th, html table td {
border-top: 1px solid blue;
border-left: 1px solid green;
}

html table thead tr td, html table th {
background-color: purple;
}

html table tfoot tr td {
background-color: orange;
}

By the way, if all you want to do is to globally change the table header or
footer background colours then you can do so by creating a custom palette -
see the "Appearance"/"Palette" tab of control panel.

Best wishes

Jeremy





>
>
>
> On Tuesday, 12 May 2015 04:06:43 UTC+8, Jeremy Ruston wrote:
>>
>> Hi James
>>
>> You can add a class to a table with a special row marked with a "k" like
>> this:
>>
>> |myclass|k
>> |the |rest |of |my |table |
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On Mon, May 11, 2015 at 3:13 AM, James  wrote:
>>
>>> The table design, especially the table header fall back to the default
>>> design "grey color" when I use the classic "@@." command to define the CSS
>>> style for my table.
>>> When I define it in HTML format, ">>
>>> Can anyone guide me on this?
>>>
>>> Thanks.
>>>
>>> --
>>> 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 tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/943ac901-5dea-433c-ba90-c54bd546c03a%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:jeremy...@gmail.com
>>
>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZ%2BoQtCaEpuKJN3SHQt4L8axFPWit02GprDUWPXfxDGCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Can I have Different Table Style?

2015-05-11 Thread James
Hi Jeremy,

Thanks for your response.

I able to apply the class on my table, but the table header remain as 
default grey color.  Is there any way I can change it?


On Tuesday, 12 May 2015 04:06:43 UTC+8, Jeremy Ruston wrote:
>
> Hi James
>
> You can add a class to a table with a special row marked with a "k" like 
> this:
>
> |myclass|k
> |the |rest |of |my |table |
>
> Best wishes
>
> Jeremy
>
>
> On Mon, May 11, 2015 at 3:13 AM, James > 
> wrote:
>
>> The table design, especially the table header fall back to the default 
>> design "grey color" when I use the classic "@@." command to define the CSS 
>> style for my table.
>> When I define it in HTML format, ">
>> Can anyone guide me on this?
>>
>> Thanks.
>>
>> -- 
>> 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 tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/943ac901-5dea-433c-ba90-c54bd546c03a%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>  

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec7a9d77-acce-424b-ad22-9fd83ce20ee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Can I have Different Table Style?

2015-05-11 Thread Jeremy Ruston
Hi James

You can add a class to a table with a special row marked with a "k" like
this:

|myclass|k
|the |rest |of |my |table |

Best wishes

Jeremy


On Mon, May 11, 2015 at 3:13 AM, James  wrote:

> The table design, especially the table header fall back to the default
> design "grey color" when I use the classic "@@." command to define the CSS
> style for my table.
> When I define it in HTML format, "
> Can anyone guide me on this?
>
> Thanks.
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/943ac901-5dea-433c-ba90-c54bd546c03a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZEUUhxMfSaWFHuUJTGhWSJEY6oJqnb9PFRbZe7NTbJ3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Can I have Different Table Style?

2015-05-10 Thread James
The table design, especially the table header fall back to the default 
design "grey color" when I use the classic "@@." command to define the CSS 
style for my table.
When I define it in HTML format, "http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/943ac901-5dea-433c-ba90-c54bd546c03a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.