質問

I am working on project which converts html to a .doc file. I have implemented the html using divs not td/table. When I generate/download the doc file, the css which I have used in html is not applied.

I did some research and I found that .doc does not support some css attributes e.g position, float etc.

https://superuser.com/questions/146453/css-absolute-position-dont-work-in-ms-word

Is there any alternative to get css applied in .doc format

Can someone please help

役に立ちましたか?

解決

Here Is list of supported attribute. Ms word supported html tag

Here you can see and use it carefully in your project. It will help to make you minor change. Maximum tag has full support except div tag.
Link for check COREEXTENDED

div has COREEXTENDED support. You can see it at link.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top