Page 1 of 1

export centered table to html

Posted: Tue Jan 29, 2013 8:01 pm
by piet van Blokland
Dear Sergey
I have a problem with exporting a table to html. The table is centered and I want to use CSS. In html the table is shown on the left side.
The code generated by richview is .rvps4 {text-align :center;}
<div class=rvps4><table etcetera

Unfortunately this does not work in HTML. A possible solution is
class .center { margin-left: auto; margin-right:auto; }

But this has to be automated

I use version 1 9.15

Piet van Blokland

Posted: Wed Jan 30, 2013 9:32 am
by Sergey Tkachenko
Sorry, I cannot reproduce this problem.
I tried in different browsers, the table is displayed centered:
http://www.trichview.com/support/forumf ... table.html

And your CSS code does not contain any instruction to make a table centered, it only changes margins (?)