RelyOnCSS Property

Microsoft Word Visual Basic

property. False if HTML <FONT> tags and cascading style sheets are used. The default value is True. Read/write Boolean.

expression.RelyOnCSS

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

You should set this property to True if your Web browser supports cascading style sheets because this will give you more precise layout and formatting control on your Web page and make it look more like your document (as it appears in Microsoft Word).

Example

This example enables the use of cascading style sheets as the global default for the application.

Application.DefaultWebOptions.RelyOnCSS = True