Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Jun 2005
    Thanked 0 Times in 0 Posts

    Shapes saved as HTML (WordXP)

    We save our Word documents as HTML to load onto the web site. Sometimes they contain shapes or images, which don't sit nicely in the HTML. For example the images might sit on top of each other. Through trial and error, I have found that some of the shape settings preven this such as:
    Allowoverlap = false
    LockAnchor = false
    I was wondering if any one out there has some code that formats shapes inside a word document so that they will appear the same way when saved as HTML pages?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 93 Times in 89 Posts

    Re: Shapes saved as HTML (WordXP)

    The HTML code generated by Word has come in for a lot of criticism as excessively verbose and difficult to debug and clean up. I've probably leveled that criticism myself from time to time. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    As you know, images can sit inline with text or be positioned relative to a paragraph, margin or page. In a browser window, the concepts of a top margins or the top of the page do not work very well, so positioned images may not end up where you expect them to be. I haven't experimented enough to say exactly how to best position them for "Save as Web page" purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts