This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: table alignment revisted


The html has already been designed for the whole page. But the top form
section does not involve any xsl so it was saved as a jsp file and consisted
of the following:

query.jsp file
<html>
<body>
 <form ..>
  <table width ="600"...>
    <tr><table width ="580" ...>
           <table width="400" ..>

            </table>
        </table>

<% jsp which calls a method to process the xml and my.xsl

and then to print out the html produced (intermediate table) in this area
(out.print(html))

%>
 </table>
</form>
</body>
</html>

My xsl:
develops the intermediate html table:
  <template name=org">
 <table width="400" ..>
 <tr>  </tr>
  </table>
  </template>
<xsl:template match="/">
<xsl:call-template name="org"/>
</xsl:template>
</xsl:stylesheet>

The problem is that the intermediate html table does not align with the
<table
width="400"> in the top section of the html (pre jsp call), it juts out to
the right>
<!--what should be in my xsl to reddem this? -->

Tanz



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]