设置对象样式的方法

1. document.getElementById(o.id).className="DisplayTrue";      
2. <asp:HyperLink ID="hlSendPrivateMessage" runat="server" Text="向专家提问" CssClass="BoxButton"></asp:HyperLink>
3.<div class="TableMasterClass"></div>
4.cs
this.Style["background-image"] = "url(" + Globals.GetSkinPath() + "/images/common/view.gif)";

你可能感兴趣的:(对象)