摘要: css定义超链接四个状态也的有顺序。a:link{text-decoration:none ; color:#c00 ;}a:visited {text-decoration:none ; color:#c30 ;}a:hover {text-decoration:underline ; color... 阅读全文
posted @ 2014-09-19 13:59 落雪1044 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 让一个已知宽高的div元素水平居中让一个已知宽高的div元素垂直居中 阅读全文
posted @ 2014-09-18 22:40 落雪1044 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-18 22:38 落雪1044 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 中栏固定宽度,左右两栏宽度自适应中栏自适应宽度,左右两栏宽度固定 阅读全文
posted @ 2014-09-18 21:17 落雪1044 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 两栏布局,左边宽度固定,右边自适应leftright 阅读全文
posted @ 2014-09-18 20:39 落雪1044 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.上面两个div在使用纯CSS的情况下,保持在任何尺寸的页面中都横向居中,垂直居中(页面大小不固定)。横向居中,垂直居中2.如何实现一个层在浏览器中垂直左右居中?让DIV水平和垂直居中,必需知道该DIV得宽度和高度,然后设置位置为绝对位置,距离页面窗口左边框和上边框的距离设置为50%。其实解决的思... 阅读全文
posted @ 2014-09-18 16:35 落雪1044 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1.document属性cookie -- 用户cookietitle -- 当前页面title标签中定义的文字URL -- 当前页面的URLdocument代表HTML文档的内容,因此可以通过它表示文档中加载的一些元素,这些元素全部通过集合访问。anchors -- 文档中所有锚(a name="... 阅读全文
posted @ 2014-09-13 22:46 落雪1044 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-13 21:52 落雪1044 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: 打开新窗口关闭新窗口关闭本窗口 阅读全文
posted @ 2014-09-13 21:26 落雪1044 阅读(979) 评论(0) 推荐(0) 编辑
摘要: > " onclick="moveList('leftList','rightList')"> 程序说明://HTMLDOM... 阅读全文
posted @ 2014-09-13 17:16 落雪1044 阅读(2314) 评论(0) 推荐(0) 编辑