Background Color

Be sure to read and follow the guidelines for our forums.

Apr 5, 2025 2:58 pm
What command(s) do I add to cause this entire gird to have a background color of yellow?

3 Single Action
6 Double Action
9 Charging
18 Running
Apr 5, 2025 3:19 pm
Not sure you can unless you get into HTML coding
backgrounds can be set with the "Fancy" formats or Quotes block
3 Single Action
6 Double Action
9 Charging
18 Running

You can use individual formats to add yellow background inside a table
3 Single Action
6 Double Action
9 Charging
18 Running
Last edited April 5, 2025 3:20 pm
Apr 5, 2025 3:37 pm
It's this for text:
[f=background-color:yellow][/f]

You can find the buttons for it in the Formatting menu (the F button above the post field).

If you want specifically cell background, not text background, then I think it's only HTML here.
Last edited April 5, 2025 3:43 pm
Apr 5, 2025 4:21 pm
Thanx. Aware that I can easily color each line with a background, but how do you color the entire table with color and not just the individual entries.

15 Health Capacity
12 Stamina Capacity
0 Stress
4 Lifes
6 Soul Capacity


Can you alter the "Table=grid" command to add color?
Last edited April 5, 2025 4:25 pm
Apr 5, 2025 4:23 pm
WanderOne says:
What command(s) do I add to cause this entire gird to have a background color of yellow?
You can add the `display:block` to an [ f] tag, like so:

[f=display:block; background-color:yellow][table=grid]
[b]3 Single Action[/b]
[b]6 Double Action[/b]
[b]9 Charging[/b] 
[b]18 Running[/b]
[/table][/f]


3 Single Action
6 Double Action
9 Charging
18 Running
Apr 5, 2025 4:30 pm
YES! That works great and looks awesome. Thanx
Last edited April 5, 2025 4:37 pm
Apr 5, 2025 5:10 pm
precision from vagueGM, oh the irony :)
Apr 7, 2025 3:41 pm
If you want to use a compact table, try adding to it like so:

[f=display:block; display:table; width:auto; background-color:pink][table=compact grid]
[b]3 Single Action[/b]
[b]6 Double Action[/b]
[b]9 Charging[/b] 
[b]18 Running[/b]
[/table][/f]


3 Single Action
6 Double Action
9 Charging
18 Running
Last edited April 7, 2025 3:41 pm
Apr 8, 2025 9:15 am
Eyes says:
If you want to use a compact table, ...
Interesting, the table's background spills over to fill the whole block otherwise.

You don't need both `display:block` and `display:table` it can only be one and the last one set takes over. I also don't think you need `width:auto`, that should be the default?

[f=display:table; background-color:pink][table=compact grid]
[b]3[/b]  | [b]Single Action[/b]
[b]6[/b]  | [b]Double Action[/b]
[b]9[/b]  | [b]Charging[/b] 
[b]18[/b] | [b]Running[/b]
[/table][/f]


3 Single Action
6 Double Action
9 Charging
18 Running
Apr 8, 2025 4:00 pm
Thanks, I don't know what I'm doing I just tried stuff based on a search.
Less code is better code.
Apr 8, 2025 4:53 pm
Eyes says:
I don't know what I'm doing I just tried stuff based on a search.
You just wrote my biography.
Apr 8, 2025 8:06 pm
A professional coder I see

You do not have permission to post in this thread.