随笔分类 -  css

摘要:.equal { display:table; border-collapse:separate;margin: auto; } .row{display:table-row;} .row div{ display: inline... 阅读全文
posted @ 2013-07-12 11:37 顿金 阅读(185) 评论(0) 推荐(0)
摘要:.button{/*针对IE*/+padding-top:3px;}给按钮添加该样式即可,如: 阅读全文
posted @ 2013-01-05 19:42 顿金 阅读(183) 评论(0) 推荐(0)
摘要:default.aspx文件 × 当前进度: default.aspx.cs 文件 protected void Page_Load(object sender, EventArgs e) { hidNewid.Value = ""; } protected void b... 阅读全文
posted @ 2012-03-02 14:54 顿金 阅读(210) 评论(0) 推荐(0)
摘要:function init() { // 设置textarea自适应高度 var handler = function () { setTareaAutoHeight('textarea'); }; // 添加监听 if (window.addEventListener) {//FF... 阅读全文
posted @ 2012-01-10 11:35 顿金 阅读(729) 评论(0) 推荐(0)
摘要:没内容时也出现横线滚动条,解决方法:body第一个div设置如下样式:margin:0px; padding:10px; 或:margin:0px;border:1px solid #ccc 还不行则检查是否存在 html,body,form{width:100%margin-left:0;marg... 阅读全文
posted @ 2011-12-24 15:29 顿金 阅读(595) 评论(0) 推荐(0)
摘要:无标题页 左侧列表 阅读全文
posted @ 2011-12-24 13:28 顿金 阅读(643) 评论(0) 推荐(0)
摘要:......转载请注明出处:http://blog.csdn.net/dasihg/article/details/6804004 阅读全文
posted @ 2011-09-23 15:09 顿金 阅读(182) 评论(0) 推荐(0)
摘要:在DIV定位中有时候使用的是相对定位,而DIV在Position:absolute情况下的居中需要知道DIV的高和宽;通过数学我们可以知道,可以首先将DIV的高/宽的定位设置:Left/Top设为50%;然后将Margin-Left/Top:-(宽/高 ÷ 2)即可。例如:转载请注明出处:http:... 阅读全文
posted @ 2011-09-21 17:19 顿金 阅读(179) 评论(0) 推荐(0)
摘要:上传图片 × 本地文件: 图片标题: 转载请注明出处:http://blog.csdn.net/dasihg/article/details/6796755 阅读全文
posted @ 2011-09-21 12:22 顿金 阅读(136) 评论(0) 推荐(0)