[tw5] Re: Table cell colors do not span cell width
Actually, I think this is addressed in the post that Ton Gerner pointed me to, and I missed the additional adjustment to the CSS for the cell. On Wednesday, March 13, 2019 at 3:48:42 PM UTC+1, John Thornton wrote: > > Birthe C, I notice with the solution there are small but noticeable > pieces of white-space (default color) on either end of the line inside the > cell. I imagine these are from margins or some such. Is there a way to make > them go away with some setting for div or within the div class? > > |itemName|k > | Created from the following Recipe(s) |<|<|<|h > | Blacksmith's Bench |<|<|<| > | @@background-color:#60c0e0;[[Blacksmith's Bench]]@@ |<|<|<| > |!Ingredients|!Produces| !Crafting Time | !XP Gained | > |Abysmal Eye (1) |Abysmal Daggers (1) | ? | ??? | > |Branch (5) |~|~|~| > |Iron Bar (10) |~|~|~| > |Thick Leather (5) |~|~|~| > > > CSS info > > .center { display:block; text-align:center; } > > .itemName thead td { background-color:brown; color:white; font-size:150%; } > > .craftingTableName { background-color:green; color:yellow; > font-size:130%; } > > > On Wednesday, March 13, 2019 at 2:11:20 PM UTC+1, Birthe C wrote: >> >> You might get and idea >> http://tobibeer.github.io/tb5/#Formatting%20Table%20Cells >> > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2f272780-8256-4a4c-b5f4-4d488e4b44a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Table cell colors do not span cell width
Birthe C, I notice with the solution there are small but noticeable pieces of white-space (default color) on either end of the line inside the cell. I imagine these are from margins or some such. Is there a way to make them go away with some setting for div or withing the div class? |itemName|k | Created from the following Recipe(s) |<|<|<|h | Blacksmith's Bench |<|<|<| | @@background-color:#60c0e0;[[Blacksmith's Bench]]@@ |<|<|<| |!Ingredients|!Produces| !Crafting Time | !XP Gained | |Abysmal Eye (1) |Abysmal Daggers (1) | ? | ??? | |Branch (5) |~|~|~| |Iron Bar (10) |~|~|~| |Thick Leather (5) |~|~|~| CSS info .center { display:block; text-align:center; } .itemName thead td { background-color:brown; color:white; font-size:150%; } .craftingTableName { background-color:green; color:yellow; font-size:130%; } On Wednesday, March 13, 2019 at 2:11:20 PM UTC+1, Birthe C wrote: > > You might get and idea > http://tobibeer.github.io/tb5/#Formatting%20Table%20Cells > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2a018f89-a3ae-48da-846a-e35fff19f3f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Table cell colors do not span cell width
Thank you. I will be using the color change technique on other rows that are not header rows, so the earlier solution will be fine for that, also. Your update is very useful because I was aware of the 'h' thingy to add after a line to make a header line. I could not figure out, however, what the connctions to the actual CSS element selector I needed to override. I tried a couple without success and resorted to help. Looking at it, it is very logical and one would figure I could have got there. Oh well. Thanks On Wednesday, March 13, 2019 at 2:23:10 PM UTC+1, PMario wrote: > > Hi John, > > Have a closer look here: https://tiddlywiki.com/#Tables%20in%20WikiText > > use this: > > |myClass|k > |>| Brimstone |h > |>| {{Brimstone Image External}} | > |>| //Foul smelling yellow crystals used in dark rituals// | > |Type | Ingredient | > > > > Create a new tiddler eg: myTableStyles > tag it: $:/tags/Stylesheet > add this text > > .myClass thead td { > background-color:brown; > color:white; > font-size:150%; > } > > Save -> done! > > have fun! > mario > > > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/99636bc2-9dae-4fb9-b48e-63113c32e7b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Table cell colors do not span cell width
Hi John, Have a closer look here: https://tiddlywiki.com/#Tables%20in%20WikiText use this: |myClass|k |>| Brimstone |h |>| {{Brimstone Image External}} | |>| //Foul smelling yellow crystals used in dark rituals// | |Type | Ingredient | Create a new tiddler eg: myTableStyles tag it: $:/tags/Stylesheet add this text .myClass thead td { background-color:brown; color:white; font-size:150%; } Save -> done! have fun! mario -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/abf21d51-607c-4263-bfd1-8080e867b570%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Table cell colors do not span cell width
Thanks. You provided two very useful pieces of info. One, it isn't in TiddlyWiki at this point and, two, a solution. I tried and it it worked as expected. I will probably apply the principle to other stumbling blocks I may run into. Many 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a5147559-37e2-4d59-9df7-b422d1ba671c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Table cell colors do not span cell width
Hi John, Have a look at https://tobibeer.github.io/tb5/#Formatting%20Table%20Cells Cheers, Ton -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/16584979-0507-40f0-8f2c-131a32685739%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: Table cell colors do not span cell width
You might get and idea http://tobibeer.github.io/tb5/#Formatting%20Table%20Cells -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8356d3a4-672a-404f-a15a-cc11eaf25d19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.