Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-10-20 11:04:58
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
[textile] colored words
client wants to add different colors for a words. what’s the easiest way to do this?
this word is red
and this is blue
and so on
Offline
Re: [textile] colored words
%{color:red}red word%
…will produce:
<span style="color: red">red word</span>
Use textile :)
Last edited by the_ghost (2009-10-20 11:09:10)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: [textile] colored words
Gallex wrote:
client wants to add different colors for a words. what’s the easiest way to do this?
Try to convince them against it. their non sense of graphics will destroy your design.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#4 2009-10-20 12:04:27
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: [textile] colored words
the_ghost wrote:
%{color:red}red word%
…will produce:
<span style="color: red">red word</span>
thank’s. but is it possible to add class for a span element?
Use textile :)
what you mean by that. textile is where i need this
Offline
#5 2009-10-20 12:09:11
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: [textile] colored words
colak wrote:
Try to convince them against it. their non sense of graphics will destroy your design.
sometimes you just need to highlight differently some parts of a text. dates, prices for example
Offline
#6 2009-10-20 12:56:08
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [textile] colored words
Gallex, bookmark these two textile references.
On the redcloth site you find what you need
Last edited by uli (2009-10-20 12:58:25)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Pages: 1