[projectaon] Re: Voyage of the Moonstone Playtest (Part I)

  • From: Ingo Kloecker <projectaon@xxxxxxxxxxxxxxxx>
  • To: projectaon@xxxxxxxxxxxxx
  • Date: Tue, 21 Apr 2009 21:23:37 +0200

On Tuesday 21 April 2009, Simon Osborne wrote:
> Hi
>
> Seen and fixed:
>
> Dedication: The quote marks were the wrong way around.
>
> Kai Name: Added a <p></p> element below the table here and in the
> Equipment section for the Kai Weapon. It looks good! The tables could
> still do with centring, though (how?)

This will require changes to the XSL file xhtml.xsl.

For example changing

=========
<xsl:template match="table">
 <table border="1" cellspacing="0" cellpadding="2">
  <xsl:if test="@summary"><xsl:attribute name="summary"><xsl:value-of 
select="@summary" /></xsl:attribute></xsl:if>
  <xsl:apply-templates />
 </table>
 <xsl:value-of select="$newline" />
</xsl:template>
=========

to

=========
<xsl:template match="table">
 <div align="center">
 <table border="1" cellspacing="0" cellpadding="2">
  <xsl:if test="@summary"><xsl:attribute name="summary"><xsl:value-of 
select="@summary" /></xsl:attribute></xsl:if>
  <xsl:apply-templates />
 </table>
 </div>
 <xsl:value-of select="$newline" />
</xsl:template>
=========

I don't know whether this will have undesired effects for other places 
where tables are used.


Regards,
Ingo

~~~~~~
Manage your subscription at http://www.freelists.org/list/projectaon


Other related posts: