trichview.com

trichview.support




Re: HTMLImport bug fix hack


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/12/2003 19:49:01


Please send bug reports for RvHtmlImport to its authors:

Carlo Kok <[email protected]>

Harry Mulder <[email protected]>


>

> I don't know if any of you are having this centering problem:

>

> On a line by itself, import an image, center it, and save as HTML.  Now

import

> the HTML and the image will not be aligned.  Same thing in a table.  Here

> is the fix...

>

> After you load the HTML file into a string or other storage, replace <DIV

> align=/align/><IMG  with <DIV align=/align/>&nbsp;<IMG where you

substitute

> /align/ with 'left', 'center', and 'right' (yes, three times...)

>

> Then, hand over the string (or whatever) to the HTMLImport.LoadHTML method

>

> Hope this wasn't redundant!

> Ken

> KC7RAD





Powered by ABC Amber Outlook Express Converter