[tw5] Re: Vertically centering an icon and text in the same cell of a table

2019-03-14 Thread John Thornton
=' and for all intents, the effect is the same. Thank you all. I am not soliciting any more input on this matter. Anything you care to add is always welcome. On Thursday, March 14, 2019 at 10:23:01 AM UTC+1, John Thornton wrote: > > Thank you, S. S. The problem I have with that solution I men

[tw5] Re: Vertically centering an icon and text in the same cell of a table

2019-03-14 Thread John Thornton
Thank you, S. S. The problem I have with that solution I mentioned before. I am doing this in TiddlyWiki, and I have not seen a way to use the 'id' form of CSS selectors, because I have not seen how to tag an element in a TiddlyWiki table with and 'id'. Maybe it is obvious and something I

[tw5] Re: Vertically centering an icon and text in the same cell of a table

2019-03-14 Thread John Thornton
Thank you, Subi 54. It will take me a bit to understand that snippet and how to use it. On Thursday, March 14, 2019 at 9:12:04 AM UTC+1, Subi 54 wrote: > > Use something like this perhaps: > > ``` > <$list filter="[rank[tabimgcss]]"> > [data-tiddler-title^="<$view field=title/>"] img { >

[tw5] Re: Vertically centering an icon and text in the same cell of a table

2019-03-14 Thread John Thornton
Thank you, Oxydum. It worked and makes sense in its consistency with the HTML embedded CSS markup. I do not understand it, though. To me, the image seems centered and the text seems not to be centered. It seems counter-intuiitive that changing the centering on the image changes the positioning

[tw5] Re: Table cell colors do not span cell width

2019-03-13 Thread John Thornton
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 &g

[tw5] Re: Table cell colors do not span cell width

2019-03-13 Thread John Thornton
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

[tw5] Re: Table cell colors do not span cell width

2019-03-13 Thread John Thornton
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

[tw5] Table cell colors do not span cell width

2019-03-13 Thread John Thornton
I would like the brown background color to span the whole cell, but the only area of brown background is under the characters, not any of the white-space on either side. Is there a way to accomplish that? |>| @@background-color:brown;color:white;font-size:150%; Brimstone@@ | |>| {{Brimstone

[tw5] Re: Table cell colors do not span cell width

2019-03-13 Thread John Thornton
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?

[tw5] Vertically centering an icon and text in the same cell of a table

2019-03-13 Thread John Thornton
I have table data that consists of and Icon followed by some text. The text height is less than the icon height, and the appearance is that the bottom of the icon is resting on the line drawn by the bottom of the text. I have with HTML and embedded CSS style statements been able to accomplish