R
Ram Kumar Karnataka
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 text
is separated from the image to facilitate easy localization.
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">
<strong>Sample image</strong></span></div>
<div style="width: 49px; height: 12px; position: absolute; left: 343px; top:
190px;"> X-Axis
</div><div style="width: 243px; height: 23px; position:
absolute; left: 78px; top: 192px;">
point
</div>
</div></div>
<div><br /><p>Filter points</p><table><tr class="TabHead"><td>No.</td>
<td>Description</td><td>Range</td><td>Default</td><td>Value</td></tr><tr><td>S.1.3</td>
<td>filter time period</td><td>0 ... 600 Min</td>
<td>60 Min</td>
<td>60 Min</td>
</tr>
</table>
</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
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 text
is separated from the image to facilitate easy localization.
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">
<strong>Sample image</strong></span></div>
<div style="width: 49px; height: 12px; position: absolute; left: 343px; top:
190px;"> X-Axis
</div><div style="width: 243px; height: 23px; position:
absolute; left: 78px; top: 192px;">
point
</div>
</div></div>
<div><br /><p>Filter points</p><table><tr class="TabHead"><td>No.</td>
<td>Description</td><td>Range</td><td>Default</td><td>Value</td></tr><tr><td>S.1.3</td>
<td>filter time period</td><td>0 ... 600 Min</td>
<td>60 Min</td>
<td>60 Min</td>
</tr>
</table>
</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