export centered table to html

General TRichView support forum. Please post your questions here
Post Reply
piet van Blokland
Posts: 6
Joined: Fri Sep 09, 2005 2:17 pm

export centered table to html

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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 (?)
Post Reply