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?

Hash: SHA1

Hi Derek,
Btw., I've committed a fix here:


It's available in the snapshot:


Or you could implement it in a customization layer.

Let me know if there are any further quirks related to this. I don't
spend much time in IE, so often miss bugs that affect only IE.


On 06/05/2012 12:09 PM, 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 <mailto:carlos.araya@gmail.com>> wrote:
> 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 <mailto: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 
> <mailto:docbook-apps-unsubscribe@lists.oasis-open.org>
>>> For additional commands, e-mail: 
>>> docbook-apps-help@lists.oasis-open.org
> <mailto:docbook-apps-help@lists.oasis-open.org>

Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


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