HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › margin-left:auto margin-right:auto not working › Re: Re: margin-left:auto margin-right:auto not working
August 9, 2012 at 18:45
#29083
tag is supported in all major browsers. However, it is deprecated and should be avoided!
Our application is a general purpose tool that generates HTML pages. Formatting is controlled using CSS. Changing the HTML to insert a CENTER tag to center a table is not going to happen. CSS was invented to solve simple problems like this.
The W3C documentation says the following.
The
Do you have a CSS solution for centering a table that will work with your tool?
Best,
Clifton Sothoron