![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CSS
CSS
北极的企鹅
高等教育、软件开发
展开
-
DIV居中样式的CSS
水平居中:.juzhong{margin:0px auto; width:500px;}垂直居中:#mid{ position:absolute; top:50%; left:50%; margin:-150px 0 0 -150px; width:300px; height:300px; border:1px solid red;原创 2012-12-17 10:03:42 · 826 阅读 · 0 评论 -
数据绑定之DataFormatString
DataFormatString是很多Asp.Net控件都有的属性,如GridView等等,下面简单介绍一下这个属性。 DataFormatString 属性语法如下: DataFormatString="{0:格式字符串}" 我们知道在DataFormatString 中的 {0}表示数据本身,而在冒号后面的格式字符串代表所们希望数据显示的格式;另外在指定的格式符号后原创 2013-10-15 11:30:27 · 999 阅读 · 0 评论