Re: (dsssl) Vertical alignment of table cell contents

Subject: Re: (dsssl) Vertical alignment of table cell contents
From: Jose Eloi de Carvalho Jr <eloi@xxxxxxxxxxxxxxxx>
Date: Wed, 6 Jun 2001 15:17:41 -0300 (BRT)
On Wed, 6 Jun 2001, Lane Stevens wrote:

> How do I set the vertical alignment for table cells?  I have a two column
> table and the cell contents are images of different heights.  I would like
> to center the images vertically, if possible.  Second choice would be to
> align the cell contents at the top.  The default behavior seems to be to
> align the contents of the cell at the bottom of the cell.
>
> My tools are openjade, nwalsh style sheets 1.70, pdfjadetex.



	<table>
	 <title>TITLE</title>
	  <tgroup cols=5>
	    <thead>
		<entry>a</entry>
		<entry>b</entry>
	    </thead>
		<tbody>
			<row>
			 <entry valign=middle>c</entry>
				^^^^^^^^^^^^^
			 <entry>d</entry>
			</row>
		</tbody>
	  </tgroup>
	</table>

Attribute name "valign" => bottom, middle or top





 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread