Forum


Replies: 3   Views: 2927
Table cell vertical alignment in html to word not working
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by queejie  · 23-01-2019 - 15:55

I can't seem to get vertical alignment to take, when translating HTML to Word.  I am using vertical-align: top, and the HTML side works fine, with or without the !important.  The Word doc ignores it.  Wish I could paste a picture here to demonstrate the results.  There is nothing in the td cells except text (no divs, p's, etc.).

        table.checklist td, table.checklist.th {
            vertical-align: top !important;
        }