View Single Post
Old 10-13-2010, 01:58 PM   #18
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by jackie_w View Post
...I think there's something in the CSS Word doesn't like. This doesn't altogether surprise me as I was able to control the styling much better with manually created CSS than with the Word auto-generated stuff. If I have time tomorrow I'll try and track down which CSS it's complaining about (maybe the DropCaps?).
@sergio, (sorry to have to quote myself above)
...not the DropCaps after all. I've investigated further, the thing Word doesn't like in the CSS file seems to be the 4 occurrences of:
Code:
page-break-inside:avoid;
If you remove them from the CSS file then the HTML file should open in Word WYSIWYG mode without an error. I only included these recently to try to avoid things like single poetry verses splitting across pages on the reader.

Of course I can't guarantee anything as we're using different Word versions.

There are a few cautionary notes if you are intending to do multiple open/save cycles of the .htm file in Word WYSIWYG mode. I'll elaborate further if it becomes necessary.

You should not have these problems if you are only ever going to open the HTML file in Word text-editor mode, however this has its own challenges with non-ascii chars as you may discover soon enough.

Anyway, enough for now.
jackie_w is offline   Reply With Quote