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] Superscript footnote numbers in XHTML not formatting correctly


Hi Dave,
That HTML code looks legit to me.  Can you try these variants and see if any of them work in all the browsers?
 
<p>Original: earth occur in Australia.<sup>[<a id="d0e490" href="" class="footnote">1</a>]</sup> More ...</p>
 
<p>Variant 1:  earth occur in Australia.<sup><a id="d0e490" href="" class="footnote">[1]</a></sup> More ...</p>

<p>Variant 2:  earth occur in Australia.<a id="d0e490" href="" class="footnote"><sup>[1]</sup></a> More ...</p>
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
From: Xmplar
Sent: Friday, February 17, 2012 6:46 AM
Subject: Re: [docbook-apps] Superscript footnote numbers in XHTML not formatting correctly

Bob,
I've viewed this chunk with Firefox 10, Google Chrome 17 and SeaMonkey 2.7 - they all show the first footnote the same way as my screenshots. Internet Explorer 8 actually shows the left-bracket, then *breaks* the rest of the footnote number onto the next line! (number and right-bracket). Only IE6 shows the first footnote number correctly.

Here is the part of the HTML output:

... earth occur in Australia.<sup>[<a id="d0e490" href="" class="footnote">1</a>]</sup> More ...

This is exactly the same output for the next footnote - it seems to be a browser problem. Interesting...

On 17-02-12 5:03 AM, Bob Stayton wrote:
Hi Dave,
Can you show what the generated HTML code looks like?
 
Does this problem show up in other browsers?
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
From: Xmplar
Sent: Thursday, February 16, 2012 3:28 AM
Subject: [docbook-apps] Superscript footnote numbers in XHTML not formatting correctly

I am producing XHTML 1.1 files with DB5 1.76.1ns and Saxon 6.5.5 - regarding superscript footnote numbers in body text, the first footnote is not correctly sized to superscript size - the footnote number and the closing right square bracket are the same size as the body text (whereas the opening square bracket is correctly sized). The second footnote number in the same paragraph is sized properly. See the attached screenshots.
I have made sure my customisation layer and CSS file is not interfering. I'm using the markup: <footnote><para>text...</para></footnote>.
--
Dave Gardiner



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




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