W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2008

Re: more advanced table column aligning

From: David Arakelian <david@theatons.com>
Date: Tue, 13 May 2008 10:07:51 +0100
To: www-xsl-fo@w3.org
Message-Id: <1210669671.6942.22.camel@dhopkins-laptop>

Hi. I'm not 100% sure what you are trying to achieve without code
samples. However this may help. You can do something like this:

<table>
	<thead>
		<tr>
			<td>Price</td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>10</td>
		</tr>
	</tbody>
</table>

Now can apply style to thead to make them centre aligned:

thead td { text-align:center; }
tbody td { test-align: right; }

-- 
      ,'/:.          David Arakelian 
    ,'-/::::.        http://www.theatons.com/
  ,'--/::(@)::.      Web Security Consultant
,'---/::::::::::.    Wales
____/:::::::::::::.  
  T H E A T O N S  
Received on Tuesday, 13 May 2008 15:27:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 May 2008 15:28:03 GMT