Peppering of <SPAN>

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I've used FP exclusively for a number of years and never bothered to learn
much HTML. In this latest version (2002, SP-2), while doing a few tweaks
within the HTML, I've noticed my pages peppered with <span lang="en-us">
</span>.

Sometimes it'll be right in the middle of a sentence around one or two words
and I've even seen it encompassing a single comma in a sentence. What's
that all about? Why is FP inserting that in seemingly random places of
text? Is it something I'm doing?
 
This occurs because FrontPage feels the body of your Web
page isn't US English, and your keyboard *is* US English.
It therefore flags any new, key-entered information as
(you guessed it) US English.

To stop this:

1. Choose Web Settings from the Tools menu.
2. Set Default Page Encoding to US/Western European.
3. Make sure the Ignore The Keyboard When Deciding The
Encoding Of New Pages check box is cleared.

If the the problem persists for certain pages, you may
need to correct the language settings for those pages.
For example:

1. Choose Properties from the File menu.
2. Click the Language Tab.
3. Set Mark Current Document As to <none>.
4. Set Save The Document As to US/Western European.
5. Set Reload The Current Document to
<Automatic Encoding>.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Back
Top