Subject: RE: [xsl] table alignment revisted From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Thu, 3 May 2001 14:49:57 +0100 |
This isn't an xsl problem. Try <table cellpadding="0" cellspacing="0" border="0"> or don't put it in another table. <table> <thead> <tr><td>heading1</td><td>heading1</td></tr> </thead> <tbody> <% 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)) %> </tbody> </table> <template name=org"> <tr> output some cells here </tr> </template> <xsl:template match="/"> <xsl:call-template name="org"/> </xsl:template> Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tanzila >Mohammad >Sent: 01 May 2001 10:37 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: RE: [xsl] 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] table alignment revisted, Tanzila Mohammad | Thread | [xsl] xslt script for xsl2rtf, ronald heller |
RE: [xsl] Browser caching XML, Chris Bayes | Date | [xsl] Â / em dash bug?, Mattio Valentino |
Month |