Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not getting table borders while exporting as doc #42

Closed
pchoure opened this issue Nov 25, 2019 · 3 comments
Closed

not getting table borders while exporting as doc #42

pchoure opened this issue Nov 25, 2019 · 3 comments

Comments

@pchoure
Copy link

pchoure commented Nov 25, 2019

i am exporting the data by its element id in "doc" format .
My data has multiple tables, so after exporting the data seems fine .

But facing some css issues,for example- table borders are not visible in doc file .

I am using angular 6.

@wnabil
Copy link
Owner

wnabil commented Nov 25, 2019

try exporting the container of the table with a little padding instead of the table itself, doc format doesn't require the element to be a table.

@pchoure
Copy link
Author

pchoure commented Nov 25, 2019

I have given an id to the body tag of the HTML which contains multiple tables and header tags.
And i am exporting it by using that body tag id itself.
All the css are already included in its .css file.

@wnabil
Copy link
Owner

wnabil commented Nov 25, 2019

can you please upload a sample project with the issue so i can debug it for you, i checked html-docx-js and it seems there is no issues with the borders

@wnabil wnabil closed this as completed Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants