DocBook table column widths dilemma
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 3
- Joined: Mon Jan 23, 2012 11:37 pm
DocBook table column widths dilemma
I finally figured out how to stop the PDF output from DocBook from using fixed column widths for tables, using the following XML code:
<tgroup cols="2" align="left">
<colspec colnum="1" colname="Option" colwidth="1*"/>
<colspec colnum="2" colname="Description" colwidth="4*"/>
But now I noticed that this code is screwing up tables in the HTML output. The columns now almost look fixed width there now.
Has anyone been able to solve the column width issue for DocBook PDFs while maintaining nice looking tables in the HTML output?
I really would appreciate help on this.
Thanks,
Steve.
<tgroup cols="2" align="left">
<colspec colnum="1" colname="Option" colwidth="1*"/>
<colspec colnum="2" colname="Description" colwidth="4*"/>
But now I noticed that this code is screwing up tables in the HTML output. The columns now almost look fixed width there now.
Has anyone been able to solve the column width issue for DocBook PDFs while maintaining nice looking tables in the HTML output?
I really would appreciate help on this.
Thanks,
Steve.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DocBook table column widths dilemma
Hi Steve,
Have you tried setting width="100%" on the <table>?
Maybe you should also ask this question on the Docbook Users List, you might get better feedback as there are more Docbook users registered on it.
Regards,
Radu
Have you tried setting width="100%" on the <table>?
Maybe you should also ask this question on the Docbook Users List, you might get better feedback as there are more Docbook users registered on it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service