最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

雪碧圖出不來(lái),求指教,看看問(wèn)題在哪?

<!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>無(wú)標(biāo)題文檔</title>

<style>
*{
????margin:0;
????padding:0;
}

form{
????width:200px;
????padding:5px?10px;
????background-color:lightblue;
}

.block?{
????width:190px;
????height:38px;
????display:block;
????margin:10px?0;
????font-size:15px;
????text-indent:2em;
}

label,a{
????font-size:80%;
	text-decoration:none;
}

label{
????margin-right:25px;
}

.button{
????border:none;
????background-image:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg);
}

#signup{
	background:url(sp.png)0?-38px;
	display:inline;
}
</style>
</head>

<body>

<form>
????<input?class="block"?placeholder="郵箱/手機(jī)號(hào)/用戶名">
????<input?class="block"?placeholder="請(qǐng)輸入密碼">
????<input?type="checkbox"?id="remember">
????<label?for="remember">下次自動(dòng)登錄</label>
????<a?href="#">忘記密碼?</a>
????<!--<button?class="block"?id="login"></button>
????<button?class="block"?id="signup"></button>-->
????<div?class="block"><input??class="button"?type="button"></div>
????<div?class="block"><input??class="button"?type="button"?id="signup"></div>
????
????
</form>


</body>
</html>


正在回答

2 回答

你div里面的input沒(méi)有設(shè)寬高

.button{
??? width:100%;
??? height:100%;
????border:none;
??? background-image:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg);
}
#signup{
??? background:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg)0 -38px;
?? ?
}

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

邢旭叔叔 提問(wèn)者

是高度跟寬度沒(méi)有設(shè)置,你沒(méi)撐開(kāi),非常感謝!
2015-10-20 回復(fù) 有任何疑惑可以回復(fù)我~
#2

邢旭叔叔 提問(wèn)者

多打了一個(gè)“你”,抱歉!
2015-10-20 回復(fù) 有任何疑惑可以回復(fù)我~
#3

邢旭叔叔 提問(wèn)者

非常感謝!
2015-10-20 回復(fù) 有任何疑惑可以回復(fù)我~

沒(méi)有設(shè)置background-position


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

邢旭叔叔 提問(wèn)者

在大家的幫助下,找到原因了,謝謝!
2015-10-20 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
CSS Sprite雪碧圖應(yīng)用
  • 參與學(xué)習(xí)       47091    人
  • 解答問(wèn)題       241    個(gè)

必學(xué)的大型網(wǎng)站實(shí)用技術(shù),讓你快速掌握CSS Sprite雪碧圖技術(shù)

進(jìn)入課程

雪碧圖出不來(lái),求指教,看看問(wèn)題在哪?

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)