我正在尝试在响应视图中管理包装器/画布以适合div。问题是它溢出了div的框架(请看截图)
我尝试使用min-width和max-width,但是没有任何正常工作。
My Fiddle code
.wrapper {
margin-left: auto;
margin-right: auto;
margin-bottom: 8px;
position: relative;
width: 262px;
height: 150px;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.signature_client,
.signature_tech {
position: absolute;
left: 0;
top: 0;
width: 280px;
height: 150px;
}
最佳答案
嗨,如果您删除填充,它可以解决问题
.table>tbody>tr>td {
padding:8px 0px;
}