VarToy: Allowing the change of text background color

Started by Darius1968, June 13, 2023, 02:06:51 AM

Previous topic - Next topic

Darius1968

Out of the box, VarToy does not allow html code to modify color of text with: <font color="blue">text</font>.  But, I found out that this constraint can be removed by modifying this app's app.css file. 

Now, I'm trying to figure out how to change the background color of text and can't find the solution.  Again, are there lines of code I could remove from the app.css file that would enable formatting of the background color of text(s)? 

Mario

The VarToy app uses black on white for optimal contrast for the variable input box.
This cannot be changed, unless you change the app or style sheet or create your own VarToy app.

For formatting the output, remember that the VarToy supports HTML when enabled:

Image1.jpg 

<font> is not a valid HTML tag, by the way.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

sinus

Darius, you must enable HTML, like Mario wrote. 
Then you can do a lot.  :)
Best wishes from Switzerland! :-)
Markus

Darius1968