[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] footnote mark rendering with 1.77.1 stylesheets
hi, that's a good idea, but I think this is straight html. The footnote mark source: <sup class="footnote"><a name="d0e667208"></a>[28]</sup></a> and the doctype is given at the top of the file as (note the html 'link' tag is not self closing): <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="style.css"> this top content is also shown in the dom inspector. In any case, the stylesheets are working correctly. thanks, --Tim On Thu, Oct 17, 2013 at 10:04 AM, Jirka Kosek <jirka@kosek.cz> wrote: > It might be that you are producing XHTML, but parser in browser treat it as > HTML, because of wrong mime type or extension. > > Tim Arnold <jtim.arnold@gmail.com> napsal(a): >> >> hi Jirka, that is one nice crystal ball you have! >> You are right, I was looking at the DOM inspector in Chrome. >> When I look at the source everything is correct. >> >> Which made me check it with a couple of other browsers. >> I IE, it is *displayed* correctly; with Chrome, Firefox, and Opera the [1] >> is displayed without being superscripted. The DOM inspector for those >> browsers put the [1] outside the 'sup' tag. >> >> thanks, >> --Tim >> >> >> >> >> >> >> On Thu, Oct 17, 2013 at 5:38 AM, Jirka Kosek <jirka@kosek.cz> wrote: >>> >>> On 16.10.2013 21:46, Tim Arnold wrote: >>> > The rendered footnote mark is structured like this: >>> > ---------------- >>> > <a href="#ftn.id286817273" class="footnote"> >>> > <sup class="footnote"></sup> >>> > </a> >>> > <a name="id286817273"></a> >>> > [1] will be charged etc... >>> > >>> > Is that a bug? >>> >>> Probably yes, but probably not in the stylesheets. >>> >>> Are you sure that you were looking on the direct result of >>> transformation and there were no additional step applied to HTML like >>> HTML-tidy? >>> >>> Have you been looking at HTML source or have you been using DOM >>> inspector in your browser? >>> >>> Jirka >>> >>> -- >>> ------------------------------------------------------------------ >>> Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz >>> ------------------------------------------------------------------ >>> Professional XML consulting and training services >>> DocBook customization, custom XSLT/XSL-FO document processing >>> ------------------------------------------------------------------ >>> OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. >>> ------------------------------------------------------------------ >>> Bringing you XML Prague conference http://xmlprague.cz >>> ------------------------------------------------------------------ >>> >> > > -- > Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím > mou stručnost.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]