Search Engine Optimization > Web Development > CSS Question
CSS Question
Posted by Redcat on August 1st, 2003

I'm not sure if this is possible but thought that it must be more sensible
to achieve using CSS.

I'm doing a site at the moment and the company name has the 1st and 4th
letters in red and all the others in white. Can I do this cleverly with
CSS, or will I have to specify different classes for each different colour.

Cheers

Andy


Posted by brucie on August 1st, 2003

In post <bgdbl7$6jm$1@titan.btinternet.com>
Redcat said...

h1{color:black;background:white;}
h1 span{color:red;background:transparent;}

<h1><span>C</span>om<span>p</span>any</h1>


--
brucie a. blackford. 01/August/2003 07:34:02 pm kilo.
http://loser.brucies.com/

Posted by Alan J. Flavell on August 1st, 2003

On Fri, 1 Aug 2003, brucie wrote:

Fairynuff, but I'm not sure how that would rate at the indexing
services, so it might be best to have an uninterrupted version
of the company name in a prominent[1] place too. Unless you know
better...

cheers

[1] "prominent" in the sense of being taken seriously by the indexing
services, I mean. The <title> element in the <head> part would be one
such place, I think. Amazing how many pages have "Untitled" (4
million, says Google), or "New Page 1" (over 1 million), etc. in this
important spot.

Funbolt.com - Entertainment portal, wallpapers, sexy celebs