evidenceprime/html-docx-js

some styling issues

Closed this issue · 3 comments

Hi, and first of all thanks a lot for this awesome package.
One small question... Identation changes are not being applied to the docx, are they? I just tested here locally and on the online test system you guys have, but it just didn't work.
Any ideas on this?

ok, I discovered a work around this problem. If you use indent_use_margin: true option, things work perfectly. It seems that word just doesn't understand the concept of padding, which is pretty ok.

I'm gonna close this, as there is a pretty viable solution. Feel free to contact me if you want to know something else.
Thanks again!

@thiagorova I'm having a problem with tables in word. It's adding a default spacing : after of 8pt. How can I set that to 0pt with HTML or CSS? I've tried a bunch of things...

Hi! I'm sorry, but I'm not 100% sure what you mean. Do you mean you're having a space after your content? could you show me an html example?

I just tested copying a table into the test page and generating a docx. I wasn't able to notice anything particularly odd. My suggestion is to remove all your CSS files from the styling and see if the problem remains. If not, try adding them one by one back in. Perhaps this error is being caused by some other styling of yours (which may be why your other tests failed)

hope this helps