Re: appending styles with underscore

Hi Bjoern,

Let me reformulate what I meant. When Tidy turns this:

<td bgcolor="#000000" colspan=4><p class="centBoldWhite"><i>
Some Text</i></p></td>

into this:

<td bgcolor="#000000" colspan="4">
<p class="centBoldWhite_c1">Some Text</p>
</td>

and adds

<style type="text/css">
p.c1 {font-style: italic}
</style>

then the style rules

p.c1 {...}
p.centBoldWhite {...}
p.c1.centBoldWhite {...}

don't apply to

<p class="centBoldWhite_c1">...

(You would need p.centBoldWhite_c1 {...}.) But each of the three rules 
would apply to

<p class="centBoldWhite c1">...</p>
<p class="centBoldWhite c1 c2">...</p>

Best regards,

Christophe


At 06:38 07/07/2003, Bjoern Hoehrmann wrote:

>* Christophe Strobbe wrote:
> >The underscore in class="centBoldWhite_c1" is not meant to join two classes
> >('centBoldWhite' and 'c1'); it is a new class.
>
>Why do you think so?


--
Christophe Strobbe
K.U.Leuven - Departement of Electrical Engineering - Research Group 
on  Document Architectures
Kasteelpark Arenberg 10 - 3001 Leuven-Heverlee - BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/

Received on Monday, 7 July 2003 04:56:36 UTC