Hi Brian Peat
Alternatively turn the text into a paragraph and define it in the style sheet.
Wrap the text
Code:
<p class="YourStyleName">
{$lng.txt_welcome}
</p>
and in your skin1/skin.css put the following lines:
Code:
p.YourStyleName
{ color: #FFFFFF; background-color: inherit }
/* White */
At any time you can change the colour by changing the style sheet and the colour is definitely locked into that class.
A problem with the .Style that xcart uses is that they are global and can be used for fonts, tables, backgrounds, which then makes it very hard to change one thing without affecting many other things.
If we had slow modems all the time, then we would have to stick to the old way (lean and mean and near enough is good enough), but with ADSL and Cable Modems, that is no longer the case, and we should start to separate our titles, tables, backgrounds, etc. to take control of the looks.
Regards
Ing. Stephen Hatton
