|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Docbook <programlisting> alignment
Hi,
I have a <table> that has <programlisting> in one of the columns. Instead of
both the columns being left aligned, the <programlisting> column is
'centered' at page level because of which it overlaps the text in column2.
How can we programmitacally set the <programlisting> alignment so that it
does not do a centre alignment when enclosed in a table?
Following is a sample code:
<table id="someid" label="1.1">
<title>Sample table</title>
<tgroup cols="2">
<colspec colnum="1" colname="col1"/>
<colspec colnum="2" colname="col2"/>
<thead>
<row>
<entry>
<para>Method</para>
</entry>
<entry>
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<programlisting>
<emphasis>private void getMe()</emphasis>
</programlisting>
</entry>
<entry>
<para>gets me</para>
</entry>
</row>
</tbody>
</tgroup>
</table>
Thanks for your help in advance!
Hiral
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








