DOCUMENT:Q162234 26-SEP-2001 [frontpg] TITLE :FP97: ID, Class, Style Attributes Not Retained PRODUCT :Word Front Page PROD/VER:: OPER/SYS: KEYWORDS:kbusage kbdta ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft FrontPage 97 for Windows ------------------------------------------------------------------------------- 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. 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 additional information about tags that do not support extended attributes, click the article number below to view the article in the Microsoft Knowledge Base: Q161420 FP97: FrontPage Editor Deletes Unknown Attributes in HTML Additional query words: 97 ====================================================================== Keywords : kbusage kbdta Technology : kbFrontPageSearch kbFrontPage97 kbZNotKeyword2 kbFrontPage97Search Version : : 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. Copyright Microsoft Corporation 2001.