Using CSS3 columns leaves unwanted top and bottom margins
I am experimenting with CSS3 columns and I noticed that top and bottom margins were added, even though I explicitly set them to 0. Here's a screenshot:
I have highlighted the fields in yellow. The red rectangles are block level block elements drawn from the Firefox toolbar web developer add-on.
Here's my CSS:
.section .content {
-moz-column-count: 2;
-moz-column-gap: 26px;
margin: 0px;
padding: 0px;
}
How can I get rid of the fields?
edit
Upon request uploaded my code to jsbin . It also shows the discrepancy between the vertices for the two columns. The fields are not showing when I am not using columns.
+3
source to share