Convert text with html tag to formated word file?

Make a regular html file and save it with . Doc extension. It will be well displayed in ms word.

I wonder if you were stuck by the loss of formatting when you saved an HTML file as a Word doc. I was. I figured out that multiple classes are not carried over, nor anything based on multiple classes.

Consider this: This is my text. . Class1 { color:green; } .

Class2 { color:orange; } . Class1. Class2 { color:red; } .

Class1. Class2, . Class1 { color:blue; } Results in: p is green because its first declaration holds p is not blue because that declaration is part of an 'invalid' multi-class declaration (!) span is orange because its first declaration holds As with point 2.

Span is not red, nor blue, because of the 'invalid' multi-class declarations -- As a result of the above findings, I ended up wrapping my elements in another element, always with a single markup class name, and formating things successfully on that basis. Note that it's fine to manipulate elements with Javascript, adding/removing extra class names as required, Word is only interested in the actual markup in the HTML file it is trying to parse. What I didn't figure out is how to get CSS background images to show up when HTML files are opened by Word.

I usually use the shortcut: background:transparent url(../img/icon-audio-16. Gif) left top no-repeat; which didn't work (yes, checked my paths), but then neither did a blow-by-blow breakdown: background-color:transparent; background-image:url(../img/icon-audio-16. Gif); background-position:left top; background-repeat:no-repeat; Anyway...

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions