设置对象样式的方法

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)";
posted @ 2007-06-05 09:17  烈马狂生  阅读(226)  评论(0编辑  收藏  举报