docbook question: how to center cell in tables ?

Started by Oleg Bartunovabout 19 years ago4 messageshackers
Jump to latest
#1Oleg Bartunov
oleg@sai.msu.su

Hi there,

I want to center a content of table's cell
(ex. http://mira.sai.msu.su/~megera/pgsql/lockmatrix/c2.html),
but jade seems doesn't generate a right html code.

sgml code looks like:

<table id="lock-matrix" frame="topbot" pgwide="1">
<title>Lock Matrix</title>
<tgroup cols="10" align="center">
<thead>
<row>
<entry> </entry>

I run
jade -d stylesheet.dsl -i output-html -t sgml test.sgml

What I'm doing wrong ?

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Oleg Bartunov (#1)
Re: docbook question: how to center cell in tables ?

Oleg Bartunov wrote:

I want to center a content of table's cell

Put the align attributes into the entry elements.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

#3Oleg Bartunov
oleg@sai.msu.su
In reply to: Peter Eisentraut (#2)
Re: docbook question: how to center cell in tables ?

On Sun, 28 Jan 2007, Peter Eisentraut wrote:

Oleg Bartunov wrote:

I want to center a content of table's cell

Put the align attributes into the entry elements.

I'm wonderin why global setting <tgroup cols="10" align="center"> doesn't
work. Specifying that fro each entry element looks very inefficient.

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Oleg Bartunov (#3)
Re: docbook question: how to center cell in tables ?

Oleg Bartunov wrote:

I'm wonderin why global setting <tgroup cols="10" align="center">
doesn't work.

It's not implemented. Feel free to code it. :)

--
Peter Eisentraut
http://developer.postgresql.org/~petere/