[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: table alignment revisted

Subject: RE: table alignment revisted
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Thu, 3 May 2001 14:49:57 +0100
xsl table align
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.