FPHTMLStyle Object

Microsoft FrontPage Visual Basic

FPHTMLStyle Object

FPHTMLStyle

Represents a style attribute for the Cascading Style Sheet (CSS) for an HTML element. See also the IHTMLStyle object.

Using the FPHTMLStyle object

Use the style property to return an FPHTMLStyle object. The following example accesses the style attribute for the body of the active document.

    Dim objStyle As FPHTMLStyle

Set objStyle = ActiveDocument.body.Style