Thread: docbook question: how to center cell in tables ?
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
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/
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
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/