上一页 1 ··· 5 6 7 8 9 10 11 下一页
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-08-19 10:25 乐少007 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.常用的css命名规范头:header内容:content/container尾:footer导航:nav侧边:sidebar栏目:column页面外围控制整体布局宽度:wrapper左右中:left right center登录条:loginbar标志:logo广告:banner页面主体:mai... 阅读全文
posted @ 2015-07-31 14:54 乐少007 阅读(166) 评论(0) 推荐(0) 编辑
摘要: .all IE{property:value\9;}.gte IE 8{property:value\0;}.lte IE 7{*property:value;}.IE 8/9{property:value\0;}.IE 9{property:value\9\0;}.IE 7{+property:v... 阅读全文
posted @ 2015-07-31 14:48 乐少007 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 在页面顶部设置 doctype是为了统一标准浏览器有标准模式和怪异模式而这两种模式最大区别就是 盒模型的解析不同==============================图片摘自网络==========================比如IE width=100px padding=20px; 那... 阅读全文
posted @ 2015-07-31 11:24 乐少007 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 1、行内样式,指的是html文档中定义的style行内样式包含在你的html中 对你的元素产生直接作用,比如:header2、ID选择器Id也是元素的一种标识,比如#div3、类,属性选择器和伪类选择器这一类包括各种class,属性选择器,伪类选择器比如 :hover,:focus等等。4、元素和伪... 阅读全文
posted @ 2015-07-31 09:15 乐少007 阅读(188) 评论(0) 推荐(0) 编辑
摘要: @charset "utf-8";html { overflow-x: hidden; overflow-y: auto;}/*隐藏横向滚动,垂直滚动根据内容自适应(去除IE默认垂直滚动条)*/body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol... 阅读全文
posted @ 2015-07-31 08:56 乐少007 阅读(339) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD xHTML 1.0 Transitional//EN"><HTML> <HEAD> <TITLE> New Document </TITLE> <meta http-equiv="Content-Type" content="te 阅读全文
posted @ 2015-07-16 17:02 乐少007 阅读(230) 评论(0) 推荐(0) 编辑
摘要: word-break: break-word;中文汉字不会溢出,英文字母会溢出这个时候添加属性word-break: break-word;即可 使得 不溢出=========================== 阅读全文
posted @ 2015-07-16 16:55 乐少007 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: 幻灯片效果 ========================*{margin:0;padding:0;}ul{list-style:none;} a{text-decoration:none;} a:hover{text-decoration:underline;color... 阅读全文
posted @ 2015-07-16 16:46 乐少007 阅读(156) 评论(0) 推荐(0) 编辑
摘要: head> 文本居中 文本居中 文本居中 阅读全文
posted @ 2015-07-16 16:43 乐少007 阅读(5788) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页