Skip to main content
Question

How to write Rich Text HTML to have Multi-Colors

  • Sep 5, 2023 10:18 PM UTC
  • 0 replies
  • 187 views

How would I revise this code to have the word ORANGE in color #FFA200 and then the rest of the sentence in green again.

"<div style=\"color:#34a853;font-size:300%;font-weight:bold;\"align=\"left\">"&"To update the work ticket: Please use the orange SAVE AND RETURN TO MRI button ABOVE to save this review and update the work ticket."&"</div>"



------------------------------
Melanie Proebstel
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+9
  • Qrew Colonel
  • Sep 5, 2023 10:53 PM UTC

It's not perfect but if you wrap your orange text in a span and style that as orange it should do the trick

"<div style=\"color:#34a853;font-size:300%;font-weight:bold;\"align=\"left\">"&"To update the work ticket: Please use the <span style=\"color: #FFA200\">orange</span> SAVE AND RETURN TO MRI button ABOVE to save this review and update the work ticket."&"</div>"



------------------------------
Chayce Duncan
------------------------------