Spider Web Woman Designs

FrontPage® 2002 - Tips, Tricks and Tutorials

FP2002: Components That Require FrontPage 2002 Server Extensions: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q281532

High-end Scripting in FrontPage 2002  

Question: When I type in some text on a page, FrontPage 2002 surrounds the text with span tags as follows:

<span lang="en-us">new text</span>

What is causing this and how can I stop it?

Answer(s):  

  1. FP2002: Issues Fixed in FrontPage 2002 by Microsoft Office XP Service Pack 1: Span Lang Tag Inserted if Keyboard and Language Do Not Match

    If you set the page language to a language different from the keyboard language, any text that you type on the page is encapsulated with the following tag: <span lang="keyboard language code">

    SP-1 changes this behavior so that this tag is used only when the keyboard and page language use different code pages. http://support.microsoft.com/default.aspx?scid=kb;[LN];311574

     
  2. From the Menu Bar, choose Tools | Page Options | General and set the Default spelling language to: English (United States) and click OK.
  3. Choose Properties from the Page menu, click the Language tab, and specify: Mark Current Language As: <>none Save the Document As: US/Western European Reload The Current Document: <Automatic Encoding> Then, click OK.
  4. Choose Web Settings from the Tools menu, click the Language tab, and specify: Default Page Encoding: US/Western European Ignore The Keyboard When Deciding The Encoding Of New Pages.

These steps won't eliminate any existing span tags, but it should stop creating new ones.

  

Question: How do I remove the "border-collapse: collapse" that gets added to the code of my tables?

Answer: Table | Insert Table | set the Border size to 0 (zero), then click Style | Format | Border and choose "none" from the Style dropdown box. Click OK, OK, check the box that says "Set as default for new tables" and click OK again. Then right-click on the table, choose table properties, and put a check in the "Show both cells and table borders" box.

This should also apply to all new tables you create from now on.

You can also eliminate the id="AutoNumber1" tag by using Jimco's CleanTable addin at: http://www.jimcoaddins.com/com.asp

  

How to declare a Default DOCTYPE and other defaults for your web pages

FrontPage 2002 Database Interface Wizard - Tips, Tricks and Tutorials

FrontPage Data Base Results Wizard (DBRW) Links, Tips, Tricks and Tutorials

FrontPage 2000 Tips, Tricks and Tutorials (many apply to FrontPage 2002 also) 

  

Back to Top