
我得到一个在HTML标签之外的部分.
身体的棕色部分颜色出现在HTML之外
我使用fireBUG,当我将鼠标放在HTML标签上时,它突出显示整个页面,除了
底部的棕色部分
页面网址是link
这是一张图片,页面底部应该是黑色部分.
解决方法 这里的麻烦是你的< div ID =“filter_List”class =“dd_List”>.虽然你设置了overflow:hIDden;你还没有给出盒子的高度,所以它会兴高采烈地向下滚动页面,包括远离常规内容的底部.设定高度:100px; (或者无论你需要它多大),页面布局的其余部分将恢复正常.
总结A note on deBUGging: since there are
clearly no offending elements at the
bottom of the page,I trIEd just
deleting elements from the page one by
one until the scrollbar disappeared.
Once I found the offending parent
element,I refreshed the page and
started deleting that element’s
children. And I repeated that until I
got to the#filter_Listelement,which at last offered a tangible explanation for the behavior.
以上是内存溢出为你收集整理的html标记之外的内容全部内容,希望文章能够帮你解决html标记之外的内容所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)