html
iteye_10144
这个作者很懒,什么都没留下…
展开
-
网页内容居中
2011.01.22 ,只要设置了width:960px;margin:0 auto; 这几个样式就可以了div +css 让整个网页面的内容自动居中1. 主要有用到 css 中的 margin 和text-align 属性example:[code="html"] query-autocomplete ...原创 2010-07-04 10:31:07 · 134 阅读 · 0 评论 -
Difference between DOM parentNode and parentElement
http://stackoverflow.com/questions/8685739/difference-between-dom-parentnode-and-parentelement原创 2012-07-06 12:04:42 · 100 阅读 · 0 评论 -
JQuery Select
最近使用JQuery来编写前端js脚本,涉及到依据下拉框的值确定其他下拉框中数据项。需要实现对下拉框中候选项的添加删除等,使用js写的话简直会死人的。还好使用JQuery。以下是操作 下拉列表的常用功能:1.获取列表项中候选项的数目。2.获得选中项的索引值。3.获得当前选中项的值4.设定选择值5.设定选择项... 1 // 得到selec...原创 2012-03-17 14:22:00 · 70 阅读 · 0 评论 -
Bootstrap UI, 的响应式后台管理模板
http://dreamsky.github.io/main/blog/metronic-bootstrap/ui_buttons.htmlgoogle bootstrap 后台模板原创 2014-07-25 10:59:41 · 223 阅读 · 0 评论