How change the background color for the content of different subfolders as easily as possible? They all share the same index_html which is placed inside the top-level folder. This widely used index_html reffers to a style_sheet (dtml-doc) also placed inside the top-level folder. Now I just want to change the background colors for some subfolders without having to copy the complete style_sheet to them. If I did so, other changes on the top-level style_sheet would not apply to the folders with their own style_sheet. Only want to change the background color. This does not work: (why?) I created a style_background_color dtml-doc just with the plain color info (#FFFF55). Now I reference to it from the style_sheet (which resides inside the top-level folder). If I place the style_background_color object inside a sub-folder, change its color string to #000022 it should work for this and all subfolders. They all acquire the index_html dtml-method from the top-level folder which in turn uses the style_sheet dtml-doc inside the same top-level folder. And they don't use the local style_background_color dtml-doc with the different color ... why? thanks! -- 'K:)?
OK ... I just found out that changing the dtml-docs to dtml-methods solved the problem ... sorry about this. Is there any good source with concepts regarding the use of style sheets and Zope? Thanks! -- 'K:) on 25.10.2003 0:58 Uhr, Kai Vermehr at k@eboy.com wrote:
How change the background color for the content of different subfolders as easily as possible? They all share the same index_html which is placed inside the top-level folder.
This widely used index_html reffers to a style_sheet (dtml-doc) also placed inside the top-level folder.
Now I just want to change the background colors for some subfolders without having to copy the complete style_sheet to them. If I did so, other changes on the top-level style_sheet would not apply to the folders with their own style_sheet.
Only want to change the background color.
This does not work: (why?) I created a style_background_color dtml-doc just with the plain color info (#FFFF55). Now I reference to it from the style_sheet (which resides inside the top-level folder).
If I place the style_background_color object inside a sub-folder, change its color string to #000022 it should work for this and all subfolders. They all acquire the index_html dtml-method from the top-level folder which in turn uses the style_sheet dtml-doc inside the same top-level folder.
And they don't use the local style_background_color dtml-doc with the different color ... why?
thanks! -- 'K:)?
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Kai Vermehr