大佬教程收集整理的这篇文章主要介绍了如何获得等高列表项目的网格?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
#blocks ul{ list-style-type:none; margin:0px; padding:0px; } #blocks li { display:inline-block; vertical-align:top; width:280px; BACkground-color:#ff9933; padding:13px; margin: 0px 0px 20px 19px; } <div id="blocks"> <ul> <li>...</li> <li>...</li> <li>...</li> </ul> </div>
Here’s an image to illustrate the issue.
我需要这些块才能保持较大块的高度,与其内容无关.有可能像this这样做吗?
最后:对不起,英语不是我的母语:)
height: 150px; min-height: 150px; overflow:auto;
另外,还有一些其他的方法:
> http://demo.smartnetzone.com/same-height-columns-using-jquery/
> http://buildinternet.com/2009/07/four-methods-to-create-equal-height-columns/
> http://www.cssnewbie.com/equalheights-jquery-plugin/
以上是大佬教程为你收集整理的如何获得等高列表项目的网格?全部内容,希望文章能够帮你解决如何获得等高列表项目的网格?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。