Forum OpenACS Development: Re: Valid CSS

Collapse
2: Re: Valid CSS (response to 1)
Posted by Richard Hamilton on
Actually, having looked at this a bit longer, I can see that the duplication depends entirely on the context that the classes are used in on every individual page. Classes will of course cascade dependent upon their containing ancestors, which could be completely different every time in the case of for example lists produced by list builder.

So if you have general purpose CSS designed for re-use in lots of different contexts, as we do, stripping out the dupliates from these warnings may cause problems everywhere but on this specific page. If I understand correctly it would make duplication of CSS attribute definitions unavoidable and inevitable in a system like this.

Does anyone have any comments on this?

Regards
Richard