Microsoft KB Archive/827389

= Certain Selectors Are Unexpectedly Removed from Web Pages When You Use the Optimize HTML Option to Remove Unused Styles =

Article ID: 827389

Article Last Modified on 9/27/2006

-

APPLIES TO


 * Microsoft Office FrontPage 2003

-





SYMPTOMS
When you use the code optimization settings in FrontPage 2003 to remove unused styles from a Web page, you may find that certain cascading style sheet (CSS) selectors may be unexpectedly removed from the Web page.

Note To use the code optimization settings in FrontPage to removed unused styles from a Web page, on the Tools menu, click Optimize HTML, click to select the Unused styles check box, and then click OK.



CAUSE
This problem may occur if the Web page contains child selectors, attribute selectors, or both. When you remove unused styles from a Web page that contains child selectors, attribute selectors, or both, FrontPage may incorrectly remove the selectors from the page, even though the selectors apply to elements on the Web page.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
You can use the code optimization settings in FrontPage to reduce the amount of non-standard HTML or other code in your Web pages. This process can make it easier to edit pages by using Code view. Additionally, you can help reduce the file sizes of your pages and help site visitors open pages more quickly. You can optimize code when you author your pages, or when you publish your pages to a Web site. For more information about code optimization settings in FrontPage, see FrontPage Help. To do so, on the Help menu, click Microsoft Office FrontPage Help, type optimize HTML in the Search for box, and then press ENTER to view the topics returned.

Keywords: kbpending kbbug KB827389

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.