Article ID: 194346 - Last Review: June 25, 2007 - Revision: 2.2 FP98: Style Formatting Definitions Show as Text in FP EditorThis article was previously published under Q194346 For a Microsoft FrontPage 97 version of this article, see 163582 (http://support.microsoft.com/kb/163582/EN-US/ ) . SYMPTOMS Formatting definitions that are enclosed within a
<style>...</style> element appear as text in the FrontPage Editor.
NOTE: Web browsers that do not support the <style>...</style> element also interpret the formatting definitions as text. CAUSE FrontPage Editor interprets the instructions within the
<style>...</style> element as text. RESOLUTION To ensure that the formatting definitions are not displayed
as text when you view your page in the FrontPage Editor or a Web browser that
does not support the <style>...</style> element, place the
formatting definitions inside a comment (<!-- -->) tag. For example, to
hide the font formatting in this code: STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
MORE INFORMATION The comment (<!-- -->) element does not prevent the
formatting instructions from being used by a Web browser that supports the
<style>...</style> element. When you place formatting definitions
inside a comment (<!-- -->) element within a
<style>...</style> element, you ensure that this information is not
interpreted as text by a Web browser that does not support the
<style>...</style> element. Problems produced by editing the HTML which FrontPage generates will not be resolved by Microsoft Technical Support. This HTML code sample is provided as a convenience for authors seeking to extend FrontPage capabilities. For more information on writing HTML, see http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarhtmau/html/beghtml.asp
(http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarhtmau/html/beghtml.asp)
| Article Translations
|

Back to the top
