[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: Table frame, colsep attributes ignored in HTML
And another thing... ;-) Yikes: turning on table.borders.with.css seems to turns off table borders: <xsl:when test="$table.borders.with.css != 0"> <xsl:attribute name="border">0</xsl:attribute> It makes sense to turn off the HTML <TABLE border attribute in order to use CSS instead. However, shouldn't the tgroup template then handle frame="all" in CSS? It does handle most frame values, but not 'bottom' or 'all', apparently. Denis > -----Original Message----- > From: Bradford, Denis [mailto:denisb@Rational.Com] > Sent: Monday, April 01, 2002 10:01 AM > To: docbook-apps@lists.oasis-open.org > Subject: RE: DOCBOOK-APPS: Table frame, colsep attributes > ignored in HTML > > > Oops, I goofed - turning on table.borders.with.css does > handle the <table > frame="topbot" attribute - I think the colsep="0" defeated it. > > The output is almost what I expect, but not quite: the tgroup template > treats both the top and topbot the same: > > <xsl:when test="../@frame='topbot' or ../@frame='top'"> > <xsl:attribute name="style"> > <xsl:call-template name="border"> > <xsl:with-param name="side" select="'top'"/> > > As a result, I get only a top border: > <TABLE BORDER="0" style="border-top: 0.5pt black solid"> > > Shouldn't frame='topbot' be tested separately, and call the > border template > with both top and bottom params? > > -Denis >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC