FP97: ID, Class, Style Attributes Not Retained

Last reviewed: March 18, 1998
Article ID: Q162234
The information in this article applies to:
  • Microsoft FrontPage 97 for Windows with Bonus Pack

SYMPTOMS

Some elements of Cascading Style Sheets (CSS) are discarded by FrontPage Editor. For example, FrontPage Editor correctly preserves the STYLE and LINK tags placed within the HEAD element, but it only preserves the ID, CLASS, and STYLE attributes some of the time.

CAUSE

ID, CLASS, and STYLE attributes in the BODY section of your document are not preserved if they occur within an HTML tag that does not support extended attributes.

For a list of tags which do not support extended attributes, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q161420
   TITLE     : FP97: FrontPage Editor Deletes Unknown Attributes in
               HTML

MORE INFORMATION

Cascading style sheets consist of several parts:

  • A STYLE tag specified inside the HEAD tag that describes the appearance and behavior of other elements on the page.
  • A LINK tag placed inside the HEAD tag that references an external style sheet via a Uniform Resource Locator (URL).
  • The ID, CLASS, and STYLE attributes that can be specified on all tags inside the BODY.

FrontPage correctly preserves the STYLE and LINK tags in the head all the time, but it only preserves the ID, CLASS, and STYLE attributes if they occur within an HTML tag that supports extended attributes.


Additional query words: 97
Keywords : fpedit fphtml kbusage kbdta
Version : windows:97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.