You are here: Re: How to change colors in text using css? « HTML « IT news, forums, messages
Re: How to change colors in text using css?

Posted by Adrienne Boswell on 09/30/07 06:09

Gazing into my crystal ball I observed not_bad <jures@hotmail.com>
writing in news:46ff26ee$0$3588$5a62ac22@per-qv1-newsreader-
01.iinet.net.au:

> Let's say I need somethink like that below.
>
>
> Especially with h3 or bold. How can I change colors?
>
> Sometimes I need just one letter in different color!
>
> Google doesn't help a lot.
>
> Help!
>


<style type="text/css">
body {background-color: #fff; color:#000;}
..serengeti {
color: #B58E73;
}
..saintmartinsand {
color: #D6B6A5;
}
..middleburybrown {
color: #6B594A;
}
..monticellorose {
color: #CEAE9C;
}
..westonflax {
color: #F7E3B5;
}
</style>
</head>
<body>
<h3>Color Nonsense</h3>
<p><span class="serengeti">Serengeti</span> is not the same color as
<span class="saintmartinsand">St. Martin Sand</span> and is not the same
color as <span class="middleburybrown">Middlebury Brown</span>, and not
<span class="monicellorose">Monticello Rose</span> and certainly not
<span class="westonflax">Weston Flax</span>. Got it?</p>

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация