Reputation: 1814
<cufontext style="color:red">Home</cufontext>
I want the text color of 'Home' to be red
I tried <cufontext style="color:red !important">Home</cufontext>
as well
No luck..
Upvotes: 0
Views: 687
Reputation: 281
Have you considered using classes as cufon selectors instead? Html:
<p class='cufon red'>Hello world</p>
Css:
.red
{
color:red;
}
And JS:
Cufon.replace('.cufon');
Working example: http://jsfiddle.net/sE39M/
Upvotes: 2