Gap between table and div

I have 3 floated divs inside a td. Divs touch eachother with no gap just fine but there is a gap around either the table or td (looks like a 1px border). I have tried: margin:0 padding:0 border: 0 cellspacing: 0 cellpadding: 0 border-collapse:collapse Heres my jfiddle: I changed it to try and highlight the problem. You can't see the top gap but you can see the white gap on the right of the box that says "left" and on the left of the box that says "right"
please post sscce so that we can see what we are dealing with.

以上就是Gap between table and div的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准