Loading...
 
Features / Usability

Features / Usability


Table background color

posts: 32


Is there a way to get the background of a table cell to be a certain color? (colour)

Sometimes I get the urge to change the theme of a page and all the font can merge into a new background. One solution is not to change the theme but still it would be useful to be able to set the bgcolor.

Looked up and down for something but so far nothing seems to work. I though perhaps the TAG plugin might be possible. Anyone know the secret encantation.

posts: 3665 United States

>
> Is there a way to get the background of a table cell to be a certain color? (colour)
>
> Sometimes I get the urge to change the theme of a page and all the font can merge into a new background. One solution is not to change the theme but still it would be useful to be able to set the bgcolor.
>
> Looked up and down for something but so far nothing seems to work. I though perhaps the TAG plugin might be possible. Anyone know the secret encantation.

You'll need to edit the theme's CSS.

HTH,

-Rick


posts: 1817 Catalan Countries

Or you can use a quick hack (useful sometimes when you just want some color at the background of table cell/s)

You can manually change that by using the box syntax (for instance, tikineat.css uses white background on them), or DIV plugin (with bg param).

Examples:

a
b

Using light yellow bg through DIV plugin
c
1
And this is
some more text in pink
2
This is a table showing that white bg in tikineat.css

Try with othe themes and you'll get other background colors - defined in css
3
This is a table showing that white bg in tikineat.css

Within a DIV in orange bg

Some more text


Code:

code
Copy to clipboard
|| a | {DIV(bg=>lightyellow)}b %%% %%% Using light yellow bg through __DIV plugin__ {DIV}| c 1 %%% {DIV(bg=>pink)}And this is %%% some more text in pink{DIV}| 2 ^This is a table showing that white bg in tikineat.css %%% %%% Try with othe themes and you'll get other background colors - defined in css ^ | {DIV(bg=>orange)}3 ^This is a table showing that white bg in tikineat.css %%% %%% Within a DIV in orange bg^ %%% Some more text{DIV} ||


HTH


posts: 32

That is an excellent solution and very nicely explained. Thankyou for your tip

>
> Is there a way to get the background of a table cell to be a certain color? (colour)


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting