OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Should ie.css be included by default in the generated webhelp files?


David:

I think you need to close the xsl:text element on the first line of your comment.  I think it should be 

<xsl:comment><xsl:text>[if IE]</xsl:text>

Carlos
On Jun 5, 2012, at 9:57 AM, David Cramer wrote:

> Ok, guess that's a bug in webhelp. This is how I have that in my
> customization layer:
> 
> 	<xsl:comment><xsl:text>[if IE]>
> 	&lt;link rel="stylesheet" type="text/css" href="../common/css/ie.css"/>
> 	&lt;![endif]</xsl:text></xsl:comment>
> 
> David
> 
> On 06/05/2012 11:55 AM, Peter Desjardins wrote:
> > Have you tried the xsl:comment element?
> > 
> > http://zvon.org/comp/r/ref-XSLT_1.html#Elements~comment
> > 
> > Peter
> > 
> > On Tue, Jun 5, 2012 at 12:34 PM, Derek Van Kooten
> > <derekavk@gmail.com> wrote:
> >> I am using version 1.77.0
> >> 
> >> I noticed that the generated webhelp files do not look correct in
> >> Microsoft Internet Explorer. I dug into it a little to see what
> >> was going on. The div named content doesnt have padding-top css
> >> attribute being set. The include for ie.css is missing in the
> >> generated files. So, the content div is aligned to the top of the
> >> browser in my generated content instead of being below the header
> >> div like it should be.
> >> 
> >> I see in some of the example sites that they have this
> >> conditional css line
> >> 
> >> <!--[if IE]> <link rel="stylesheet" type="text/css"
> >> href="../common/css/ie.css"/> <![endif]-->
> >> 
> >> In my generated webhelp none of the generated html files have
> >> this line. I tried to add this into webhelp-common.xsl but I cant
> >> figure out how to get those html comments into it. It wants to
> >> treat them like comments to the xsl file and ignore them.
> > 
> > ---------------------------------------------------------------------
> >
> > 
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> > For additional commands, e-mail:
> > docbook-apps-help@lists.oasis-open.org
> > 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]