Thanks to everyone for your thoughts. In summary, no one mentioned ZStylesheets. Files are ok, but no one is concerned about hierarchies. For example having a site level look and feel with specific styles for certain areas, such as tables. I'll go with the file at the top level.. Regards, john
John Huttley wrote:
Thanks to everyone for your thoughts. In summary, no one mentioned ZStylesheets. Files are ok, but no one is concerned about hierarchies. For example having a site level look and feel with specific styles for certain areas, such as tables.
I'll go with the file at the top level..
Yes, you can do that if you split your CSS in "comon style" which is the base for the site and several local stylesheets which refine the settings. You can also include CSS files based on rules with the usual tal: syntax. Add to this the ability to place various classes (and combinations of them) to your HTML dom and you have all the flexibility w/o slow and error prone full dynamic stylesheets. Regards Tino
Tino Wildenhain schrieb:
Tonico Strasser schrieb:
Tino Wildenhain schrieb:
... flexibility w/o slow and error prone full dynamic stylesheets.
Plain text/css files are slow too if you don't cache 'em.
But you can, thats the whole point.
You can cache dynamic stylesheets too, why not? :) If I just want dynamic URLs in my stylesheet this makes perfect sense. Of course there are use cases where you don't want to cache a stylesheet, but then you don't want static files. E.g. for a Web site that needed a random background I made a small dynamic stylsheet which does only this. Another use case might be a small stylesheet which imports other (cacheable) stylesheets based on some logic. Tonico
participants (3)
-
John Huttley -
Tino Wildenhain -
Tonico Strasser