上一页 1 ··· 9 10 11 12 13 14 15 下一页
  2016年3月1日
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style> textarea{ width: 500px; height: 300px; } </style> </head> <body> <textarea 阅读全文
posted @ 2016-03-01 19:15 hduhdc 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 </head> 7 <body> 8 <select><option>昌平区</option> 9 <option>海淀区</option 阅读全文
posted @ 2016-03-01 19:13 hduhdc 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 </head> 7 <body> 8 <form action="http://www.miaov.com">《提交以后的网站》 9 <p 阅读全文
posted @ 2016-03-01 19:04 hduhdc 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style type="text/css"> 7 div{ 8 width: 300px; 9 height: 300px; 10 } 阅读全文
posted @ 2016-03-01 15:37 hduhdc 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 div{ 8 width: 300px; 9 height: 300px; 10 background-color: 阅读全文
posted @ 2016-03-01 15:08 hduhdc 阅读(180) 评论(0) 推荐(0) 编辑
摘要: position:absolute; 绝对定位 a、使元素完全脱离文档流; b、使内嵌支持宽高; c、块属性标签内容撑开宽度; d、如果有定位父级相对于定位父级发生偏移,没有定位父级相对于document发生偏移;《需要添加body的位置即:body{positive relative}》 e、相对 阅读全文
posted @ 2016-03-01 14:39 hduhdc 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 .box{ 8 border: 1px solid red; 9 overflow: hidden;<!--相当于子太 阅读全文
posted @ 2016-03-01 11:30 hduhdc 阅读(914) 评论(0) 推荐(0) 编辑
摘要: 1 .clearfix{ 2 *zoom:1; 3 } 4 .clearfix:after{ 5 content: ""; 6 display: block; 7 clear: both; 8 } 在样式中加入上面一段。 zoom after伪类: 元素内部末尾添加内容; :after{conten 阅读全文
posted @ 2016-03-01 10:59 hduhdc 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style> 7 img{ 8 float: left; 9 } 10 p{ 11 clear:left; 12 } 13 </styl 阅读全文
posted @ 2016-03-01 10:39 hduhdc 阅读(180) 评论(0) 推荐(0) 编辑
  2016年2月29日
摘要: 1 <html> 2 <head> 3 <meta charset="utf-8"> 4 <title></title> 5 <style> 6 div, span{ 7 height: 400px; 8 background-color: red; 9 display:inline-block; 阅读全文
posted @ 2016-02-29 21:23 hduhdc 阅读(205) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 下一页