課程
/前端開發(fā)
/HTML/CSS
/初識(shí)HTML(5)+CSS(3)-升級(jí)版
搞不清繼承這里暈
2016-01-21
源自:初識(shí)HTML(5)+CSS(3)-升級(jí)版 9-1
正在回答
father is "position:relative"
son is "position:absolute"
son is in father's heart
除了border以外,小的跟大的格式一致
#box3{
? ? width:200px;
? ? height:200px;
? ? position:relative;
}
#box4{
? ? width:99%;
? position:absolute;
? ? bottom:0;
? ??
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>對(duì)齊</title>
<style type="text/css">
div{text-align:center;}
</style>
</head>
<body>
<div><img src="http://img1.sycdn.imooc.com//52b4113500018cf102000200.jpg" ></div>
</body>
</html>
舉報(bào)
HTML(5)+CSS(3)基礎(chǔ)教程8小時(shí)帶領(lǐng)大家步步深入學(xué)習(xí)標(biāo)簽用法和意義
2 回答有點(diǎn)不理解
7 回答求解 有點(diǎn)不懂
4 回答求解答不理解
5 回答.first,#second span{color:green;}理解不懂?求大神指點(diǎn)
1 回答寫一張高考數(shù)學(xué)試卷
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-01-21
father is "position:relative"
son is "position:absolute"
son is in father's heart
2016-01-21
除了border以外,小的跟大的格式一致
2016-01-21
#box3{
? ? width:200px;
? ? height:200px;
? ? position:relative;
}
#box4{
? ? width:99%;
? position:absolute;
? ? bottom:0;
? ??
}
2016-01-21
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>對(duì)齊</title>
<style type="text/css">
div{text-align:center;}
</style>
</head>
<body>
<div><img src="http://img1.sycdn.imooc.com//52b4113500018cf102000200.jpg" ></div>
</body>
</html>