View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Don Don is offline
external usenet poster
 
Posts: 103
Default Problem while inserting a html page into word2000 document

?B?UmFtIEt1bWFyIEthcm5hdGFrYQ==?=
wrote in
news
Hello All,
I'm facing a problem while inserting a html page into the word2000
document. The speciality of the html page is - it contains images with
text.

The problem arises when i insert the html page into the word, the text
which should be positioned at certain places along side the image are
all coming at the bottom of the image, which makes the image not
readable.

If i open the same html page using the webbrowser, its absolutely
fine. The text is embedded inside the div and span tags.

The html will look like as shown below:

img src="file://C:\ABC.ico" alt="ABC" style="position: relative;
left: 4px; top: 12px; width: 395px;" /
div style="width: 247px; height: 12px; position: absolute; left:
75px; top: 10px;"span style="color: #ff3333"
strongSample image/strong/span/div
div style="width: 49px; height: 12px; position: absolute; left:
343px; top: 190px;" X-Axis
/divdiv style="width: 243px; height: 23px;
position:
absolute; left: 78px; top: 192px;"
point
/div
/div/div
divbr /
/div

Indeed, the problem seems to be like Word is not preserving the
position information of texts in "div" element and style attributes.

Can anyone please help in this regard?

Thanks



1) Word is not a web browser or html editior, it was NEVER intended for
either.
2) You have not mentioned the SOURCE of your inserted page?
3) Is the inserted web page compliant?
4) the "wrap" settings for Word and html are two entirely different
creatures, not to mention if your inserted web page utilizes html-
Cascading Style Sheets (NOT Word's CSS).
5) Should you desire an exact veiwing of of the inserted page that is
viewed identically in all platforms (i. e., operating systems), the most
effective way to achieve this is NOT with the use of Word, rather a PDF
file.
6) In addition the "absolute" settings that your conversion atttempt
utilizes are a BAD practice in web pages. People are using a variety of
monitor types and sizes these days (and have been for some years) and
your assuming that everybody has the identical monitor that you do!