Changing font colors within an output string
Hi,
I'm not sure if this can even be done, if so I have no clue of what to research to try it. Maybe someone knows or could shed some light on this.
I have numerious pages that are using the following code to set page titles:
<cfset pagetitle = "ACCOUNT SIGN-IN">
Then there is one template page that will display these page titles within a header on the page accordingly. It uses the following code:
<cfoutput><div style="padding-top:20px;padding-left:8px;">#ucase(pagetitle)#</div></cfoutput>
My problem is this, I need to figure out a way to make everything in the page title after the first word a different color. So in this example above "ACCOUNT" would stay the default color then " SIGN-IN" needs to be blue.
Any thoughts? Thanks in advance!
