Subject: [xsl] large spaces between table cells From: "\"Anth Courtney\"" <anth@xxxxxxxxxxxxxxxx> Date: Fri, 24 May 2002 08:00:42 +1000 |
Hey guys, Apologies in advance if this is a post with an obvious answer; while I'm well versed in html, I'm only new to xml. My problem is that I'm trying to create a table with two columns of specified size each, and each has to contain a graphic. When I do this in xsl, then while I get the graphics and the two columns that I require, I also get a rather large space between the two columns, which I'm unsure how to remove. My code is <fo:table> <fo:table-column column-width="139mm"/> <fo:table-column column-width="70mm"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block> <fo:external-graphic content-height="auto" content-width="auto" src="file:///usr/local/cms/xsl/fo/CreditCardsGraphic.gif"/> </fo:block> </fo:table-cell> <fo:table-cell> <fo:block> <fo:external-graphic content-height="auto" content-width="auto" src="file:///usr/local/cms/xsl/fo/bpay.gif"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> I'm using 209mm in width (an a4 page size). What also seems to happen is that if I have text or no content in the second cell, then the graphic in the first cell sizes itself correctly. When I have a graphic in the second cell, then the graphic in the first cell seems to slightly shrink itself back. I'm assuming this is because of hte large white space that appears between the two cells and the limitations of the page. Are there any tags that I shoudl look at adding to this code block to remove this white space? How can I make the two columns sit side by side like a normal html table row would? thanks in advance cheers, Anth Systems Administrator - PLANET NETCOM - anth@xxxxxxxxxxxxxxxx ------------------------------------------------------------------- "Bill Oddie, Bill Oddie, rub your beard all over my body" Reading soccer supporters parody Madonna's 'Erotica' in tribute to celebrity fan and bearded former star of The Goodies. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] large spaces between table ce, \"Anth Courtney\" | Thread | Re: [xsl] large spaces between tabl, J.Pietschmann |
Re: [xsl] Unwanted Output Escaping, David Carlisle | Date | Re: [xsl] xsl and <Div> tags - urge, Joerg Heinicke |
Month |