码迷,mamicode.com
首页 > Web开发 > 详细

.net 给前台元素设置样式

时间:2016-09-20 19:34:01      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:

       this.box.Attributes["style"] = "display:block";
            this.box.Attributes.Add("style", "display:block");
<div class="box" id="box" runat="server">
    </div>

 

.net 给前台元素设置样式

标签:

原文地址:http://www.cnblogs.com/mchuang/p/5889951.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!