做爰高潮a片〈毛片〉,尤物av天堂一区二区在线观看,一本久久A久久精品VR综合,添女人荫蒂全部过程av

最新文章專(zhuān)題視頻專(zhuān)題問(wèn)答1問(wèn)答10問(wèn)答100問(wèn)答1000問(wèn)答2000關(guān)鍵字專(zhuān)題1關(guān)鍵字專(zhuān)題50關(guān)鍵字專(zhuān)題500關(guān)鍵字專(zhuān)題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專(zhuān)題關(guān)鍵字專(zhuān)題tag2tag3文章專(zhuān)題文章專(zhuān)題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專(zhuān)題3
當(dāng)前位置: 首頁(yè) - 科技 - 知識(shí)百科 - 正文

div+css小疑問(wèn)。_html/css

來(lái)源:懂視網(wǎng) 責(zé)編:小采 時(shí)間:2020-11-27 16:31:15
文檔

div+css小疑問(wèn)。_html/css

div+css小疑問(wèn)。_html/css_WEB-ITnose:CSS 大家看一下這個(gè)left 和right 共同被一個(gè)#maincontainer div包裹。 代碼如下。 #left { background: #eee; width: 350px; height: 400px; float: left; } #right { background: #ccc; width: 150p
推薦度:
導(dǎo)讀div+css小疑問(wèn)。_html/css_WEB-ITnose:CSS 大家看一下這個(gè)left 和right 共同被一個(gè)#maincontainer div包裹。 代碼如下。 #left { background: #eee; width: 350px; height: 400px; float: left; } #right { background: #ccc; width: 150p

CSS


大家看一下這個(gè)left 和right 共同被一個(gè)#maincontainer div包裹。
代碼如下。
 #left { background: #eee; width: 350px; height: 400px; float: left; } #right { background: #ccc; width: 150px; height: 400px; float: right; } #maincontainer { width: 500px; overflow: auto; } #foot { background: #eee; width: 500px; height: 100px; }


運(yùn)行起來(lái)是沒(méi)有問(wèn)題的 “這里為什么出現(xiàn)?” 是沒(méi)有的。

但是為什么設(shè)計(jì)頁(yè)面中要空出這一塊呢? 我并沒(méi)有設(shè)置#maincontainer的height。
也沒(méi)有任何的邊框。為什么出現(xiàn)那一塊了呢? 運(yùn)行起來(lái)卻沒(méi)有問(wèn)題。看著真別扭。
求大神幫解答。


回復(fù)討論(解決方案)

#foot{
clear:both
}
試試

*{margin:0;padding:0;}

LZ啥瀏覽器?

1樓和2樓的辦法都可以試試

 #foot { clear:both; background: #eee; width: 500px; height: 100px; }

測(cè)試了IE7、8、9、10和chrome,在IE7中出現(xiàn)這種現(xiàn)象,正在找解決方式。

需要加上層來(lái)清除浮動(dòng)~~




.clear{clear:both;background: none;border: 0;display: block;float: none;font-size:0;margin:0;padding:0;overflow: hidden;visibility: hidden;width:0px;height:0px;line-height:0px;}#left { background: #eee; width: 350px; height: 400px; float: left; } #right { background: #ccc; width: 150px; height: 400px; float: right; } #maincontainer { width: 500px; overflow: auto; } #foot { background: #eee; width: 500px; height: 100px; }

需要加上 層來(lái)清除浮動(dòng)~~




.clear{clear:both;background: none;border: 0;display: block;float: none;font-size:0;margin:0;padding:0;overflow: hidden;visibility: hidden;width:0px;height:0px;line-height:0px;} #left { background: #eee; width: 350px; height: 400px; float: left; } #right { background: #ccc; width: 150px; height: 400px; float: right; } #maincontainer { width: 500px; overflow: auto; } #foot { background: #eee; width: 500px; height: 100px; }

大家誤會(huì)了 我可能強(qiáng)調(diào)的也不對(duì),這個(gè)是在VS2008的設(shè)計(jì)頁(yè)面中的情況。瀏覽器運(yùn)行是正常的。。

應(yīng)該是上下div邊距的問(wèn)題

聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問(wèn)題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

div+css小疑問(wèn)。_html/css

div+css小疑問(wèn)。_html/css_WEB-ITnose:CSS 大家看一下這個(gè)left 和right 共同被一個(gè)#maincontainer div包裹。 代碼如下。 #left { background: #eee; width: 350px; height: 400px; float: left; } #right { background: #ccc; width: 150p
推薦度:
標(biāo)簽: html div 疑問(wèn)
  • 熱門(mén)焦點(diǎn)

最新推薦

猜你喜歡

熱門(mén)推薦

專(zhuān)題
Top 主站蜘蛛池模板: 郧西县| 中方县| 景泰县| 泰和县| 迭部县| 友谊县| 陆河县| 平远县| 通州市| 凭祥市| 华阴市| 津市市| 安庆市| 永嘉县| 桐乡市| 万州区| 德安县| 香港| 青田县| 卢龙县| 长阳| 天门市| 郎溪县| 永城市| 肥乡县| 诏安县| 揭西县| 察哈| 全南县| 炉霍县| 和龙市| 西林县| 饶阳县| 绍兴市| 永修县| 定陶县| 皋兰县| 德昌县| 台湾省| 东海县| 长治县|