forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: how to include additional classes (e.g. from sdocbook)
Date Tue, 29 Nov 2005 17:18:29 GMT
Johannes Schaefer wrote:
> 
> Ross Gardler schrieb:
> 
>>Thorsten Scherler wrote:

...

>>>maybe better with a more explicit sample:
>>><span class="codefrag p">
>>>gives .codefrag p{}
>>>which stands for class="codefrag" element="p"
>>>
>>>which would design all elements within e.g.
>>><div class="codefrag">
>>> <p>this</p>
>>></div>
>>>
>>>...or am I wrong?
>>
>>
>>I think you are right, but the problem is one of naming conventions. The
>>class elements must not be the name of a legal HTML element in order to
>>avoid the side effect that Thorsten describes.
> 
> 
> I haven't got this, do you mean something like
>   <p class="code" id="body">?

No, that's not what I meant, but my thinking was flawed anyway. Ignore 
this statement.

Ross

Mime
View raw message