I have an issue that any
span
label
margin
padding
td
table
td
td
margin-top
padding-top
margin-bottom
padding-bottom
overflow: hidden
td
height
I found a simple solution, it is to add change the display
of the inline
elements to inline-block
, seems the td
height not read the top/bottom margin/padding of inline children.
change the style like this :
span {
display: inline-block;
}
jsfiddle: http://jsfiddle.net/0f4jzdmk/3/