<SCRIPT LANGUAGE="javascript">
... ...
var styleSheetUrl ="/css/main.css";
window.document.createStyleSheet(styleSheetUrl);
... ...<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a class="mnubar">信息管理</a</td>
</tr>
</table>
</BODY>
... ...
var styleSheetUrl ="/css/main.css";
window.document.createStyleSheet(styleSheetUrl);
... ...<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a class="mnubar">信息管理</a</td>
</tr>
</table>
</BODY>
-------------------------------------------
viewInheritStyle
可选。指定为下列之中一个的布尔值。
false
Viewlink不从主HTML文件中继承样式。
true
默认值。Viewlink从主HTML文件中继承样式。
<PUBLIC:DEFAULTS viewLinkContent="TRUE" viewInheritStyle="TRUE"/>
</PUBLIC:COMPONENT>
-----------------------------
http://msdn.microsoft.com/workshop/author/behaviors/overview/viewlink_ovw_css.asp
还有下面这篇资料里提到的例子对CSS继承的演示是这样用的:
-----------------------------------------------------------
... ...
<pbc:header class="mnubar" caption="pbc"/>
... ...http://msdn.microsoft.com/workshop/author/behaviors/overview/viewlink_ovw.asp#CSS_Inheritance