做网站ppt,手机上怎么赚钱啊 正规,同一素材 不同的布局网站设计,网站开发数据库设计的作用我正在使用display#xff1a;table做一个小的2窗格布局.对于间距(也来自背景图像),我使用填充.因为我需要孩子们有一个确切的宽度#xff1a;50#xff05;来自可用空间(考虑到父div的填充),我使用Box-sizing#xff1a;border-Box.这在Opera中运行良好,但在Chrome中,框大…我正在使用displaytable做一个小的2窗格布局.对于间距(也来自背景图像),我使用填充.因为我需要孩子们有一个确切的宽度50来自可用空间(考虑到父div的填充),我使用Box-sizingborder-Box.这在Opera中运行良好,但在Chrome中,框大小border-Box或甚至-webkit-Box-sizingborder-Box会被忽略.我做了一个演示,显示了这个问题.两个红色框应为方形,蓝色框的宽度和高度应为200pxhttp://jsfiddle.net/fabb/JKECK/这是html源代码Something on the left sideSomething on the right side和CSS#table {display: table;/*border-collapse: collapse;*/width: 200px !important;height: 200px !important;Box-sizing: border-Box;-webkit-Box-sizing:border-Box;-moz-Box-sizing:border-Box;margin: 0;border: 1px solid blue;padding: 60px 20px;}#table #left,#table #right {display: table-cell;width: 50%;Box-sizing: border-Box;-webkit-Box-sizing:border-Box;-moz-Box-sizing:border-Box;margin: 0;border: 1px solid red;padding: 0;}这是Chrome中的错误吗或者我做错了什么