javascript - jQuery Isotope - Masonry container height is set to 0 (zero) - Stack Overflow

I've got the following problem. Isotope sets the height of my container always to 0px.I checked fo

I've got the following problem. Isotope sets the height of my container always to 0px.

I checked for floats and other usual problem sources. All seems to be fine.

My class for the to-be arragened elements looks like this:

div#image-area div {
    width: 6.25%;
    height: 6.25%;
}

I've got the following problem. Isotope sets the height of my container always to 0px.

I checked for floats and other usual problem sources. All seems to be fine.

My class for the to-be arragened elements looks like this:

div#image-area div {
    width: 6.25%;
    height: 6.25%;
}
Share Improve this question edited Feb 4, 2013 at 14:25 Ron asked Feb 4, 2013 at 14:17 RonRon 23.6k33 gold badges115 silver badges214 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 7

Alright, took me ages to figure it out!

Isotope does not support percentual image sizes.

Just choose a static width like 100px and everything's fine!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745357990a4624228.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信