How to change colors in text using css?

How to change colors in text using css?

am 30.09.2007 06:34:31 von not_bad

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!


TIA






New Page 1




Lorem color="#FF00FF">ipsum
dolor sit
amet, consectetur adipisicing elit,





Re: How to change colors in text using css?

am 30.09.2007 08:09:35 von Adrienne Boswell

Gazing into my crystal ball I observed not_bad
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!
>





Color Nonsense


Serengeti is not the same color as
St. Martin Sand and is not the same
color as Middlebury Brown, and not
Monticello Rose and certainly not
Weston Flax. Got it?



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

Re: How to change colors in text using css?

am 30.09.2007 08:15:14 von jmm-list-gn

not_bad wrote:
>
> Google doesn't help a lot.
>
!?!

See
Also there are a number of excellent books on CSS. Buy one.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Re: How to change colors in text using css?

am 30.09.2007 08:48:58 von not_bad

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



Wow! Span is the trick!?


Many thanks!!!

:)

Re: How to change colors in text using css?

am 30.09.2007 13:09:24 von jkorpela

Scripsit not_bad:

> Wow! Span is the trick!?

No, and span isn't CSS at all. The color property is the "trick".
Surprising, is it not?

Use of span is a usual sign of lack of understanding of markup issues,
though if giving abstract advice to a generic question, formulated in
foobarish (aka Lorem ipsum), there's little else one can use, since any
other inline element could be semantically _wrong_. The span element is
_meaningless_, i.e. semantically empty.

However, you could just as well use class="serengeti">Serengeti, being somewhat honest about it: you are
just thinking in terms of coloring words, not in terms of expressing
semantic or structural relationships.

If you want to save typing, would be an
interesting option.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Re: How to change colors in text using css?

am 01.10.2007 10:32:28 von Andy Dingley

On 30 Sep, 07:15, Jim Moe wrote:
> not_bad wrote:
>
> > Google doesn't help a lot.
> !?!

Well, indeed 8-(

> Also there are a number of excellent books on CSS. Buy one.

Also there are even more bad ones. Buy Lie & Bos' book, which is a
good one.