[Zope] Styles aren't being applied

Tim Wilson wilson@chemsun.chem.umn.edu
Sun, 22 Aug 1999 22:28:36 -0500 (CDT)


Hello Zopisti,

I hope you'll tolerate another question on navigation trees. Actually,
it's related to the ZBook tutorial at ZDP. In the example, the tree
is constructed within a <span class="tree"> tag. When displayed, the page
renders with the tree in the prescribed style just as it should. However,
when I implement the same tree syntax and the same style settings, my
navigation tree displays "normal" fonts. I know my style settings are OK
because  I tested the <span class="tree"> tag elsewhere successfully.

<SPAN CLASS="tree">
	<!--#tree particle branches_expr="objectValues(['Folder', 'DTML
Document'])" sort=id-->
		<!--#if expr="meta_type == 'Folder'"-->
			<!--#if tree-item-expanded-->
			<IMG SRC="<!--#var SCRIPT_NAME-->/HelpSys/hs_obook" ALIGN="TOP"
BORDER="0" width=16 height=16>
			<!--#else-->
			<IMG SRC="<!--#var SCRIPT_NAME-->/HelpSys/hs_cbook" ALIGN="TOP"
BORDER="0" width=16 height=16>
		<!--#/if-->
		<!--#var title_or_id-->
		<!--#else-->
		<IMG SRC="<!--#var SCRIPT_NAME-->/HelpSys/hs_dnode"  ALIGN="TOP"
BORDER="0" width=16 height=16>
		<A HREF="<!--#var "particle.absolute_url()"-->/
		<!--#var tree-item-url-->? 
			<!--#if tree-s-->tree-s=<!--#var tree-s--><!--#/if-->
			<!--#if tree-e-->&tree-e=<!--#var tree-e--><!--#/if-->
			<!--#if tree-c-->&tree-c=<!--#var tree-c--><!--#/if-->">
		<!--#var title_or_id--></a>
	<!--#/if-->
	<!--#/tree-->
</SPAN>

Is there something about styles and DTML I'm missing here? This is really
puzzling. Everything looks so right.

-Tim

--
wilson@chem.umn.edu