[Zope3-dev] Re: CSS-Style-Guide / looking for help

Tonico Strasser contact_tonico at yahoo.de
Mon Feb 14 09:06:16 EST 2005


Peter Simmons wrote:
> Does it somehow add some functionality because the css designer can 
> decide whether there are 2 classes for an element or something like that?

Don't understand your question, but it should be easily possible to put 
two names in the class attribute.

> Otherwise it just sounds complicated when it probably doesn't need to 
> be, I mean what's the difference between saying an element name is 
> primary_section the way you have or simply adding a straight html class 
> element and having its value being primary element.

It's an additional abstraction layer. I'm still experimenting and don't 
know if it is an efficient concept.

My motivation is to make pieces of HTML truly reuseable without need to 
modify the HTML. E.g: HTML snippet A must provide class name 'foo' to 
incorporate HTML snippet B.

As others said, this is possibly too complicated.

Tonico



More information about the Zope3-dev mailing list