trichview.support
HTMLImport bug fix hack |
Author |
Message |
Ken |
Posted: 05/09/2003 23:30:55 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/> <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