Title: HTML   Text   Formula
Last modified: August 30, 2016

---

# HTML Text Formula

 *  Resolved [burn3r2003](https://wordpress.org/support/users/burn3r2003/)
 * (@burn3r2003)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-text-formula/)
 * Hey,
 * is it possible to add HTML like color of font to a Formula with Text? Example:
 * =Save {ROUND(1-MIN(G2/F2,G3/F3,G4/F4), 2)*100} %
 * I would like to change color to red on this.
 * Cant use <span style=”….” or <div id=”…” because the “=”.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-text-formula/#post-6399706)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * You will basically have to combine this with CSS, e.g.
 *     ```
       =Save <span>{ROUND(1-MIN(G2/F2,G3/F3,G4/F4), 2)*100}</span> %
       ```
   
 * and then the CSS
 *     ```
       .tablepress-id-123 td span {
         color: #ff0000;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [burn3r2003](https://wordpress.org/support/users/burn3r2003/)
 * (@burn3r2003)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-text-formula/#post-6399707)
 * Hey, there is no trouble. Best Table Plugin on WordPress + Best Support!
 * I fixed it with
 *     ```
       .tablepress tfoot th {
       	color: red;
       }
       ```
   
 * My output is on last row 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-text-formula/#post-6399709)
 * Hi,
 * yes, that will also work, but of course highlight the entire cell 🙂
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML Text Formula’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/html-text-formula/#post-6399709)
 * Status: resolved