I have a simple example in which an outer DIV contains an inner DIV which has display: inline-block;. Because I have set the
DIV
display: inline-block;
.outer{font-size:0} will do the job
.outer{font-size:0}
.outer { background-color: red; font-size:0 } .inner { display: inline-block; width: 480px; height: 140px; background-color: green; }