Loading...
 
Skip to main content

Features / Usability


Table background color


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.

>
> 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,

-RickQuestion


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


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)