开发者

Magic margin on bottom

can anyone please tell me where the margin/pa开发者_如何学Pythondding in for the pictures come from? it has on the bottom 4px extra and I can't seem to find where it is from ... doesn't matter in what div I put it, it is always there...

http://vaneverbroeck.be/didier/#!/


If you try adding float:left to your images, the bottom margin should disappear.


They are all positioned using absolute attributes in your css. That's why there is nomargin or padding between the images.

This is, on my mind, handle by the javascript on the page. You should take a look on the script/plugin that handle your mosaic and check there is there is an option to change that.


Your #content has an inline-style height of 578px:

<div id="content" style="position: relative; height: 578px; " class="masoned">

If you adjust the height, you will be able to achieve what you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜