Forum Moderators: not2easy
I suspect that I need some kind of pattern matching but I just can't seem to get my head round how that works.
<p>
<strong><font color="#fe0000">E</font></strong>xample
<strong><font color="#000098">W</font></strong>idget
<strong><font color="#ffcc00">B</font></strong>lue
<strong><font color="#98cc00">S</font></strong>tuff
</p>
Any help would be totally fantastic.
Thanks
James
[edited by: swa66 at 10:57 am (utc) on Jan. 23, 2009]
[edit reason] examplyfied blue widget stuff [/edit]
The code snippet is part of the heading and matches the associations logo.
What I don't understand is why it seems so difficult to do basic styling like this using CSS?
I am of the opinion that I just need to get up to speed on how to do it and the problem is my lack of knowledge in this area rather than a CSS limitation.
Please correct me if I'm wrong.
Still CSS can be used to get rid of the depreciated font tags:
<p>
<strong style="color:#fe0000">E</strong>xample
<strong style="color:#000098">W</strong>idget
<strong style="color:#ffcc00">B</strong>lue
<strong style="color:#98cc00">S</strong>tuff
</p>
Shown here with inline CSS for simplicity. The different colors make it that you'd need 4 classes.