在后台,给前台有 runat="server"标签的DIV等标签设置样式CSS的方法
后台代码:
this.apDiv1fa.Style["BACKGROUND-IMAGE"] = "images/banner_lxwm.jpg";
this.apDiv1fa.Style["HEIGHT"] = "208px";
在后台,给前台有 runat="server"标签的DIV等标签设置样式CSS的方法
后台代码:
this.apDiv1fa.Style["BACKGROUND-IMAGE"] = "images/banner_lxwm.jpg";
this.apDiv1fa.Style["HEIGHT"] = "208px";