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?


The developers who worked on webhelp are members of the list. I'd wait a while before making any major changes to give them time to get caught up with list traffic :-)

On Jun 5, 2012, at 10:09 AM, Derek Van Kooten wrote:

Wow, yeah, there is no way I would have figured that out. I just went ahead and changed some of the css files so that the margin-top attribute is set to 0, and the padding-top is set to 120. I tested that in both IE and chrome. Both seemed to work fine with those settings. Now I dont know if that will break other browsers since that was all I had to test with. But, if the conditional css is the better way to go then i'll switch it back and try to use what you have here. Or, if this is a bug, should I just wait till the next release and it is fixed? Suggestions?

On Tue, Jun 5, 2012 at 1:04 PM, Carlos Araya <carlos.araya@gmail.com> wrote:

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>

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=""/>
>       &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=""/> <![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]