This is the mail archive of the mailing list for the DocBook project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] Table questions

On Mon, May 05, 2003 at 12:31:18PM -0500, wrote:
> I have a follow-up question: How do you determine the column width? Here is
> my xml text, and it is totally ignoring the column width I am assigning
> (not to mention it's also ignoring the border specification).
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE article SYSTEM "file:///C:/DocBook/DTD/docbookx.dtd">
> <article>
> <title>Table 1</title>
>       <informaltable frame='all'>
>             <tgroup cols='2'>
>                  <colspec colwidth='3.5in'/>
>                  <colspec colwidth='3.5in'/>
>             <tbody>
>                 <row><entry>1</entry><entry>1</entry></row>
>                 <row><entry>2</entry><entry>4</entry></row>
>                 <row><entry>3</entry><entry>9</entry></row>
>             </tbody>
>             </tgroup>
>       </informaltabl
> </article>

Your column width spec looks ok, and frame="all" should
draw a box around the outer border of the table (but not
frame cells in the table).  You didn't mention what
output format or processor was being used.  

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887

To unsubscribe, e-mail:
For additional commands, e-mail:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]