摘要: 层的拖拽(转载),本人在原来的基础上完善了一下: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" c 阅读全文
posted @ 2013-04-12 12:02 梦飞无颜 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 我们在制作页面的时候,li与li之间会有我们并不想要的空隙,如图:View Code 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Co 阅读全文
posted @ 2013-04-11 12:08 梦飞无颜 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; c 阅读全文
posted @ 2013-04-11 11:26 梦飞无颜 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.多行文字的垂直居中,关键在于 display:table-cell 属性,请看下面的代码:View Code 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http- 阅读全文
posted @ 2013-04-09 17:53 梦飞无颜 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 常用的css命名规则:头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体布局宽度:wrapper左右中:left right center登录条:loginbar标志:logo广告:banner页面主体:main热点:hot新闻:news下载:download子导航:subnav菜单:menu子菜单:submenu搜索:search友情链接:friendlink页脚:footer版权:copyright滚动:scroll内容:content标签页:tab文章列表:list提示信息:msg小技巧:tips栏目 阅读全文
posted @ 2013-03-29 16:49 梦飞无颜 阅读(151) 评论(0) 推荐(0) 编辑
摘要: (插件效果图片) 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="tex 阅读全文
posted @ 2013-03-29 16:41 梦飞无颜 阅读(362) 评论(0) 推荐(0) 编辑
摘要: html{_background:url(about:blank); /* 阻止IE6闪动 , 把空文件连接换成about:blank , 减少请求 */}/* 图层 */.pFixed{position:fixed;_position: absolute;_top:expression(documentElement.scrollTop+documentElement.clientHeight-this.offsetHeight);_left:expression(documentElement.scrollLeft+documentElement.clientWidth-this.offs 阅读全文
posted @ 2013-03-28 16:49 梦飞无颜 阅读(117) 评论(0) 推荐(0) 编辑