Contents Index Topic Contents | ||
Previous Topic: STRONG Next Topic: SUB |
STYLE
Description
Specifies the style sheet for the page.
Syntax
<STYLE
DISABLED
MEDIA=SCREEN | PRINT | ALL
TITLE=text
TYPE="text/css"
>
Parameter Description DISABLED Used to disable an element. This attribute prevents an element from receiving the focus, and causes the element to appear "grayed out." MEDIA= SCREEN | PRINT | ALL Describes the output device for the document. A value of "PRINT" does not affect the on-screen layout. Default value is ALL.
SCREEN Output is intended for non-paged computer screens. Output is intended for paged, opaque material and for documents on screen viewed in print preview mode. ALL Applies to all devices. TITLE=text Used to provide advisory information. TYPE="text/css" Indicates the type of style sheet. Remarks
This element may be used within the BODY tag.
Both the start and end tags are required.
Example
<STYLE> BODY {background: white; color: black} H1 {font: 8pt Arial bold} P {font: 10pt Arial; text-indent: 0.5in} A {text-decoration: none; color: blue} </STYLE>Scripting Object
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.