[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?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Derek, Btw., I've committed a fix here: http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl/webhelp/xsl/webhelp-common.xsl?r1=9400&r2=9402 It's available in the snapshot: http://snapshots.docbook.org/ 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. Thanks, David 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]> <link rel="stylesheet" >> type="text/css" > href="../common/css/ie.css"/> >> <![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> >>> >> > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPz4RwAAoJEMHeSXG7afUhGDkH/iatA/3Ak+pFR/3GNgxse7Vm hx9K6dWufWIJI6H5/5sBVESHPUkeb+aQfTk8jszYjOySJ+WOPxl/w/k6t3pxod1o J4xrX9Y0Y7L+zMwly0yB77pjoTtFPVNfESkKYfhR0jqthoHClUVS+NlpGyci7G/y 7bfa4IyQ4GGNSe3G0m583eMbmjHotm1KpWUrzWEruW6OXTCqLn0BBSL/07ebsnNM 0aEqg96UHjd3SA146cL0amsNjNUMliLNPPEsz1AcvgQHJSpHO+SS9qLA45+Sv5+N 98yhKr+0uXkVaA/Kgs/Dixo0zTfLNfzh1DDh4m5aVNnlDP9SUAqH8TWqcX2WqE8= =+wHW -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]