07 2010 档案

摘要:1.div的垂直居中问题vertical-align:middle; 将行距增加到和整个DIV一样高 line-height:200px; 然后插入文字,就垂直居中了。缺点是要控制内容不要换行2. margin加倍的问题设置为float的div在ie下设置的margin会加倍。这是一个ie6都存在的bug。解决方案是在这个 div里面加上display:inline; 例如: <#div id... 阅读全文
posted @ 2010-07-30 09:02 Ethan_村长 阅读(1402) 评论(2) 推荐(0) 编辑
摘要:以下是它们的区别:(原文:CodeFile 与 CodeBehind 的区别 ) 先看 MSDN 上的说明: CodeBehind 指定包含与页关联的类的已编译文件的名称。该属性不能在运行时使用。 Specifies the name of the compiled file that contains the class associated with the control. This ... 阅读全文
posted @ 2010-07-21 14:04 Ethan_村长 阅读(255) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--voidToExcel(System.Web.UI.Controlctl,stringFileName){//设置网络输出流的HTTP字符集为UTF-8,Current为当前HTTP请求获取HttpC... 阅读全文
posted @ 2010-07-20 14:27 Ethan_村长 阅读(181) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示