課程
/前端開發(fā)
/HTML/CSS
/CSS Sprite雪碧圖應用
大神來幫我看下問題在哪
2015-07-17
源自:CSS Sprite雪碧圖應用 4-1
正在回答
<!DOCTYPE?html?PUBLIC?"-//W3C//DTD?XHTML?1.0?Transitional//EN"?"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html?xmlns="http://www.w3.org/1999/xhtml"> <head> <meta?http-equiv="Content-Type"?content="text/html;?charset=utf-8"?/> <title>無標題文檔</title> <style?style="text/css"> *{margin:0;padding:0;} body{margin:50px?auto;width:240px;padding:10px;border:1px?solid?#b6b6b6;} .wrap{display:inline-block;overflow:hidden;width:220px;height:255px;background:#EBF3FA;padding:10px;} .userName,.pwd{width:200px;height:30px;text-indent:20px;margin:10px?15px;} .check{float:left;margin:5px?5px?0?15px;border:none} span,a{font-size:10px;text-decoration:none;}a{margin-left:45px;} .but1,.but2{width:190px;height:38px;margin:10px?15px;border:none;border-radius:4px;} hr{background:#D7DADC;border:none;margin:10px?15px;border:1px?solid?#ddd;} .but1{background:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg)?0?0;} .but2{background:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg)?0?-38px;} </style> </head> <body> <div?class="reg"> ????<form?class="wrap"> ????????<input?type="text"?class="userName"placeholder="郵箱/手機號/用戶名"/> ????????<input?type="password"?class="pwd"placeholder="請輸入密碼"/> ????????<input?type="checkbox"?class="check"?check="checked"/><span>下次自動登錄</span> ????<a?href="#">忘記密碼?</a> ????<button?class="but1"></button> ????<hr/> ????<button?class="but2"></button> ????</form> </div> </body> </html>
首先,的得把下面兩個button給閉合了、、、、
biny88 提問者
無法答復
舉報
必學的大型網站實用技術,讓你快速掌握CSS Sprite雪碧圖技術
1 回答hr為什么沒有分割線
3 回答求助為什么我不能編輯那兩個button
3 回答雪碧圖不顯示
2 回答為什么注冊按鈕,怎么改都不能顯示注冊的圖片,總是顯示登錄的那張圖片
4 回答icon不顯示(圖片路徑沒問題)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2015-07-17
首先,的得把下面兩個button給閉合了、、、、
2017-08-28