如题线下测试显示正常,代码如下:<script type="text/javascript">$(function(){ $('#container').masonry({ // options itemSelector : '.photo', columnWidth : 350 });});</script><style type="text/css">#mainpage{width:1050px; margin:30px auto 0 auto; background:#fff; -moz-border-radius:12px;-khtml-border-radius: 12px;-webkit-border-radius: 12px; border-radius:12px;}#container{width:1050px; margin:10px auto}.photo{float:left; width:300px; margin:10px; padding:10px; border:1px solid #d3d3d3; background:#f7f7f7;-moz-border-radius:4px;-khtml-border-radius: 4px;-webkit-border-radius: 4px; border-radius:4px; -webkit-column-gap: 10px;}.photo img{width:300px}.photo p{line-height:20px; margin:4px auto}.clear{clear:both}</style>瀑布流 js css
解决方案 »
- 百度地图加标记时,弹出的需要输入信息的信息提示框里有文本输入框
- 求高手解读些正则表达式/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/
- JS鼠标移动触发事件
- js中如何使用session的内容
- JScript编写的“CSDN全自动灌水机” 大家多批评
- js a.html向b.html传url问题
- 请问如何判断一个输入框中输入的第一个字符是“A‘
- 100分送上,各位神仙,谁能给兄弟俺提供个JAVASCRIPT的开发手册。PDF格式的。
- DHTML问题,用InserRow()方法添加的单元格如何响应事件?
- 请教:判断IE浏览器版本低于10
- Jquery Load 问题【急急急】
- 想做个随屏幕滚动儿滚动的垂直导航
原:http://bbs.csdn.net/topics/390417656