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="#ftn.d0e490" 
class="footnote">1</a>]</sup> More ...</p>

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

<p>Variant 2:  earth occur in Australia.<a id="d0e490" href="#ftn.d0e490" 
class="footnote"><sup>[1]</sup></a> More ...</p>

Bob Stayton
Sagehill Enterprises
[email protected]


  ----- Original Message ----- 
  From: Xmplar 
  To: [email protected] 
  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="#ftn.d0e490" 
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
    [email protected]


      ----- Original Message ----- 
      From: Xmplar 
      To: [email protected] 
      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: [email protected]
      For additional commands, e-mail: [email protected]



Reply via email to