編輯

共用方式為


WebOptions.RelyOnCSS Property

Definition

True if cascading style sheets (CSS) are used for font formatting when you view a saved document in a Web browser. False if HTML <FONT> tags and cascading style sheets are used. The default value is True.

public:
 property bool RelyOnCSS { bool get(); void set(bool value); };
public bool RelyOnCSS { get; set; }
Public Property RelyOnCSS As Boolean

Property Value

Remarks

Microsoft Excel creates a cascading style sheet file and saves it either to the specified folder or to the same folder as your Web page, depending on the value of the OrganizeInFolder property.

You should set this property to True if your Web browser supports cascading style sheets, as 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 Excel).

Applies to