[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] <a> inside <li> adds white space in Firefox and IE?
Thanks Bob, I'll give it a try and see what happens. Dick ------- XML Press XML for Technical Communicators http://xmlpress.net hamilton@xmlpress.net On Apr 25, 2013, at 11:02 AM, Bob Stayton wrote: > Actually, generate.id.attributes is alread set to 1 in the xhtml5 stylesheet, which epub3 imports. It is not set to that value in epub2 because the generate.id.attributes param was not fully implemented in xhtml-1_1 when epub2 was being developed. I haven't tried it in epub2 in 1.78.1, but it should probably work. > > Bob Stayton > Sagehill Enterprises > bobs@sagehill.net > > -------------------------------------------------- > From: "Richard Hamilton" <hamilton@xmlpress.net> > Sent: Thursday, April 25, 2013 10:15 AM > To: "Bob Stayton" <bobs@sagehill.net> > Cc: "Eric Nordlund" <nordlund@cray.com>; <docbook-apps@lists.oasis-open.org> > Subject: Re: [docbook-apps] <a> inside <li> adds white space in Firefox and IE? > >> Hi Bob, >> >> Would you also recommend setting the same parameter for ePub (either 2 or 3)? >> >> Thanks, >> Dick >> ------- >> XML Press >> XML for Technical Communicators >> http://xmlpress.net >> hamilton@xmlpress.net >> >> >> >> On Apr 25, 2013, at 10:10 AM, Bob Stayton wrote: >> >>> Hi Eric, >>> You can ditch the named anchors by setting the stylesheet param 'generate.id.attributes' to 1. That will add an id to the <li> instead of adding an named anchor after it. >>> >>> Now that ids are fully supported in browsers, and version 1.78 fully implements that parameter, this should probably be the default setting. >>> >>> Bob Stayton >>> Sagehill Enterprises >>> bobs@sagehill.net >>> >>> From: Eric Nordlund >>> Sent: Wednesday, April 24, 2013 11:29 PM >>> To: docbook-apps@lists.oasis-open.org >>> Subject: [docbook-apps] <a> inside <li> adds white space in Firefox and IE? >>> >>> Hello. >>> >>> I’m having a display issue in Firefox and IE regarding my XHTML output. If a step is a linkend for an xref, the paragraph drops down below the line that has the step number. It’s almost as if the <a> tag is pushing the <p> down. This only happens on steps with the <a> tag, and if I delete the <a> tag the problem goes away. This does not happen in Chrome. >>> >>> Has anyone found a fix for this? Here is the HTML below: >>> >>> <li class="step" title="Step 4"> >>> <a id="some_ID" xmlns:saxon="http://icl.com/saxon"></a> >>> <p>Some text.</p> >>> </li> >>> >>> Thanks, >>> >>> Eric Nordlund >>> Customer Documentation and Training >>> Cray Inc. >>> 901 5th Ave >>> Seattle, WA 98164 >>> (206)701-2232 >> >> >> --------------------------------------------------------------------- >> 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]