我正在使用表格设计 HTML 布局。在左栏中,我想要一个顶部和底部都有 10 像素的图像。不幸的是,父级添加了几个像素div。我不知道为什么。我包括一张图片:

我还创建了一个JSFiddle来复制这个问题。我无法在我的 CSS 中发现问题。有谁知道发生了什么?我错过了什么?解决办法是什么?谢谢!
That is due to your image actual width which is 161px approx. and your div width is 163px approx. You need to add width:100%; in your img style.
You just need to set the width of the image. div.leftColAd is 163px x 248px and your image is 160px x 239px