Unable to change text in table to anything but black...Suggestions?

+3 votes
206 views
I've tried all the font codes...outside of the table coding; inside of the table coding; next to the text.  Nothing seems to work.  All text on profiles are black, but in one of my tables, i just want it another color so it stands out.  TIA ~Sjana
in The Tree House by Sjana Lee Bauer G2G6 Mach 3 (33.5k points)

1 Answer

+2 votes

I have been able to figure out this so far, colorwise!wink

{| border="1" cellpadding="4"

|+ '''Ira Draper in the 1870 Census Richardson County, Nebraska

|- bgcolor=#e1f0b4

| Name || Relationship || Sex || Age || Status || Occupation || Birth Place

|}

Sooo, I think you could change an individual row or maybe each cell.   Hmmmmmmmmmmmm!

Right now, the way I make the person I want to stand out is by making the text in each cell BOLD

by David Draper G2G Astronaut (3.7m points)
edited by David Draper
Thank you....text color is what I am looking for, but I shall keep this in my notes for bg color :)
You can use colour for text, but the colours are limited to what is allowed using wikitext markup, as html codes are not permitted.
I don't know if it is possible to colur every cell in the table using the table template, or if you'd need to colour each line separately.

This seems to work. 

<span style="color:hex triplet">text</span>

'hex triplet' would be in the form of #1a2b3c where hexadecimal numbers stand in for 0 to 255 RGB colors and 'text' is the stuff you want in the specified color.

WikiPedia Help: Using colours

WikiPedia Web colors

Personally, I wouldn't go too wild with the colored text for no other reason than keeping your pages in a style aligned with the WikiTree brand.

Span isn't supposed to be used.  Wikitext markup, however, works.
{{Yellow|text goes here}} {{Green|text goes here}}  {{Purple|text goes here}}  {{Blue|text goes here}}

Related questions

+4 votes
1 answer
+15 votes
3 answers
676 views asked Jun 28, 2014 in WikiTree Tech by Jillaine Smith G2G6 Pilot (914k points)
+3 votes
4 answers
158 views asked Mar 27 in WikiTree Help by Jerry Regan G2G6 Mach 1 (10.4k points)
+4 votes
1 answer
+6 votes
2 answers
+4 votes
1 answer
+7 votes
0 answers
248 views asked Sep 3, 2023 in The Tree House by Kay Knight G2G6 Pilot (605k points)
+4 votes
1 answer
+5 votes
1 answer

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...