Re: HTML Code Produced by FP



iirc, There's an option in Page Settings to disallow line breaks in scripts.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer



"Bruce E. Breeding" <bebl.it@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uQOjSJdWGHA.3440@xxxxxxxxxxxxxxxxxxxxxxx
Is there any way (like settings?) to control the html code produced by
FrontPage?

I am using FP as an html editor. What I see in the preview code is okay;
certain phrases (they are really variables) are shown on lines by
themselves as I designed.

However, FP puts breaks (inserts html code) in places in the actual html
code (that don't appear in the Preview) where I don't want breaks.

The output (html file) is sent to another software program which reads the
variable names and substitutes data for the variable names. Needless to
say, I can't have a variable name split across two lines in the html code.

In the example below, the variable in between the % characters cannot span
two lines. Now, of course, I fixed the problem once by just going into
the HTML code itself and removing the offending HTML code. But, I don't
want to do that every time I create such a file or modify it.

Below follows a sample of what appears in FP under Preview mode:
***** starts next line
Your email address is: (%Email Address%)
Your first name: (%First Name 1%)
***** ends previous line


Below follows the html code as it appears in FP:
***** starts next line
<!-- MSCellType="ContentBody" -->
Your email address is: (%Email Address%)<p>Your first name: (%First Name
1%)<br>
***** ends previous line

If you've had experience with this kind of situation, I'd be interested in
how you solved it.

Bruce




.



Relevant Pages

  • How to: Referencing a DLL
    ... Remove all the HTML code from a give *.html file and show it as text file. ... install these files and register them in registry in the target machine? ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Insert special code
    ... you cannot work in WYSIWYG mode while typing HTML code in a Word ... it possible to make things like very special popup windows. ...
    (microsoft.public.word.docmanagement)
  • Re: FP2000 SSI, webbot, and changing code
    ... FP2003 may handle this better, but FP will still see this as invalid HTML code, since FP can not ... I use FP2000 for all development and work with ASP and use ASP's version of SSI, ... The problem is the cell tags ...
    (microsoft.public.frontpage.client)
  • Re: ms OWC Chart Control Demo Code
    ... The text below is Exactly what I see, and there isn't any html code there! ... Look at the .CHM help files for the version of OWC you installed. ... The demo shows the owc chart as a "visual" control, i.e., ...
    (microsoft.public.scripting.vbscript)
  • Re: 96 DPI /120 DPI conflict - a possible solution
    ... having some problems displaying our new website on different PC's I ... our website to display properly on 120DPI widescreen laptops. ... after a bit of playing around with the HTML code (which I'm ...
    (microsoft.public.publisher.webdesign)