I read in a book on CSS that you can do something like this:
<span id="aaa bbb">
where aaa and bbb are different id's.
The advantage of the above syntax is brevity, obviously.
But it does not work, i.e. is not that same as
<span id="aaa"><span id="bbb">
Pls help.
You cannot combine id's but you can combine CSS classes that way:
<span id="aaa" class="aaa bbb">
Daniel
"Daniel Kirsch" <Iwillnotr...@gmx.de> wrote in message
news:dhiq45$a2l$02$3...@news.t-online.com...
Sorry for the late reply, but I filed this away assuming this was correct.
I just tried it today without success.
My classes were
.blue {color: blue;}
.whitebg
{
background-color: white ;
font: 12px Verdana,Arial,Helvetica,sans-serif;
}
I wanted blue text with white background so I used <a class= "blue
whitebg".....>text </a> and it didn't work.
Neither did <a class= "whitebg blue".....>text </a>
The white background appeared in both cases, but not the blue text.
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au