最新回答 / 小蠡
<!DOCTYPE html><html lang="en"><head> ? ?&;memeta charset="UTF-8"&; ? ? ?&itltitle&esttest1&tit/title&? ? ? ?&le style type="text/css"&mar *{margin: 0; padding: 0;} ? ? ? ?#wrap{background: #fcc; margin: 0 auto; width: 100%;} ?...
2017-03-05
最贊回答 / 慕后端9873056
<head><tittle></tittle><style></style></head><!--你看下你的標(biāo)題標(biāo)簽,-->
2017-02-27
最新回答 / qq_ban_1
.book>div{border:?1px?solid?#badbdb;background:url(images/t_book.gif)?0?0?norepeat;寫錯(cuò)代碼了.book{border:?1px?solid?#badbdb;background:url(images/t_book.gif) no-repeat;}
2017-02-24
最新回答 / 慕粉1429549658
剛剛聽老師講,clear:both是對(duì)box1和box2起作用,但是對(duì)mainbody這個(gè)父層不起作用,footer也是父層,clear:both起作用嗎?
2017-02-24
最新回答 / Gold_T
設(shè)置overflow: hidden; 的時(shí)候需要裁剪掉內(nèi)容的多余部分,在mainbody設(shè)置了高度的時(shí)候可以看到多余的部分確實(shí)消失了,但沒有設(shè)置高度的時(shí)候要怎么裁剪呢,他先計(jì)算內(nèi)容的高度,結(jié)果mainbody的高度就變?yōu)榱藘?nèi)容的高度,最后的效果反而類似于清除浮動(dòng)了
2017-02-22