How Is a Font Color Applied to List Text Items?

270
2
Jump to solution
11-29-2022 09:37 AM
vocono1953
New Contributor II

There was no problem doing this in the Survey page, but, when used in the Choice page the result is text black. Bold works fine in this case (see image below).

<font color=LightGoldenRodYellow><b>Clean</b>

and

backgroundColor=SeaGreen

What needs to be done is make the Task group appear as the group above it. Dark green background with pale gold text. 

Is it possible to set the font color for list text items?

Thank you for any help. 

--Bob

##FONT COLOR SCREEN SHOT 03##.png

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
DougBrowning
MVP Esteemed Contributor

Your syntax is a bit off. Add "" and end the font tag.

<font color="LightGoldenRodYellow"><b>Clean</b></font>

But I would caution on this one since then the html will be baked into your data forever and can become a real pain depending the the applications.  One idea for that is to have a second hidden question that uses jr-choice to store the name vs the label.

Hope that does it.

View solution in original post

0 Kudos
2 Replies
DougBrowning
MVP Esteemed Contributor

Your syntax is a bit off. Add "" and end the font tag.

<font color="LightGoldenRodYellow"><b>Clean</b></font>

But I would caution on this one since then the html will be baked into your data forever and can become a real pain depending the the applications.  One idea for that is to have a second hidden question that uses jr-choice to store the name vs the label.

Hope that does it.

0 Kudos
vocono1953
New Contributor II

That works. I appreciate the heads-up.

Thank you.