大佬教程收集整理的这篇文章主要介绍了CSS Float导致内容被推送到HTML页面,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
#leftcolbAnner的CSS是:
#leftcolbAnner{ width: 707px; height: 266px; float: left; BACkground: url(../images/bAnner_home.gif) no-repeat; margin: 20px 0 20px 20px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; border: 1px solid #e1dbce; }
和#rightcol:
#rightcol{ width: 190px; BACkground: #f4f2ec url(../images/bg_rightcol.gif) no-repeat right bottom; float: right; min-height: 550px; padding: 25px; -moz-border-radius-topleft: 0px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 0px; -webkit-border-radius: 0px 5px 5px 0px; border-radius: 0px 5px 5px 0px; border-left: 1px solid #e1dbce; }
#leftcolbAnner的宽度不应该是为什么#rightcol被推下来的问题.这似乎是我经验中唯一的原因,但这次并非如此.
任何人都可以看到任何我看不到的东西吗?
非常感谢
以上是大佬教程为你收集整理的CSS Float导致内容被推送到HTML页面全部内容,希望文章能够帮你解决CSS Float导致内容被推送到HTML页面所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。