how to remove padding in IE
Filed in CSS on Nov.28, 2008
Inexperienced XHTML integrator might get stuck with an IE problem when there is space appeared without any reasons. For example, it can happen if you create a small div block with little height:
<div style="height: 2px;background-color: green;">
It will not be 2px in IE. It will be more. Try this solution:
<div style="height: 2px;font-size:2px;line-height:1px;background-color: green;">