This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: TOC indents in XHTML?


From: "David Carlisle" <davidc@nag.co.uk>:

Thanks to all who sent suggestions on this.

> it would probably be better not to use non breaking space and just
> indent with nested lists and css styling, but if you want to use nbsp

If you mean using CSS2 selectors, marker-offset and other CSS2 features, I'd
like to, but IE must become better on CSS2 first.

> <xsl:template name="toc-indent">
>   <xsl:for-each select="ancestor::part">&#160;</xsl:for-each>
> </xsl:template>

I'm very impressed. This is indeed both smart and beautiful. :-)

Gustaf



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]