Is there a way to change the colour of a single cell in a table? For example, one cell would have the usual white background, while the other would be a red colour.
how tf do I do css on this
Is there a way to change the colour of a single cell in a table? For example, one cell would have the usual white background, while the other would be a red colour.
how tf do I do css on this
See http://community.wikidot.com/howto:table-attributes
and
http://community.wikidot.com/howto:table-layout-with-row-and-cell
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
i wanna to know as you!
Edit:You're talking about tables, I figured.
I usually do this for tables:
[[cell style="border-bottom: 1px solid #AAA; border-right: 1px solid #AAA; text-align: center; width: 25%;"]]
[[size 90%]]XXXX[[/size]]
[[/cell]]
background-color Any colour (e.g. name blue or HEX #F0F0F0) default: transparent - Used to define the background color of a table, row or cell
example from http://community.wikidot.com/howto:table-attributes :
[[table style="attribute1; attribute2; attribute3 ..."]]
[[row style="attribute1; attribute2; attribute3 ..."]]
[[cell style="background-color: read; attribute2; attribute3 ..."]]
Content goes into cells
Attempting to insert text into a table or row directly will cause errors
[[/cell]]
[[/row]]
[[/table]]
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
I'm wanting to figure this out as well, but my site is not formatted using [[ ]], but rather the || || style. Is it still possible to add background color to cells using this format?
I think not, the source command code cannot understand these style commands in "simple" table-cells ( || cell || ).,
(http://www.wikidot.com/doc-wiki-syntax:tables#simple )
What I would try to build either
or
Do not forget: tables can be nested!
A span style command inside a cell would only work partially - not the complete cell ( i believe)
[[span style="color:red"]]custom //span// element[[/span]] custom span element
##blue|predefined## or ##44FF88|custom-code## color predefined or custom-code color
Adding underscore to span element [[span_ ]] will truncate whitespaces around it which prevents creation of random new lines and paragraphs.
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?