当前位置:网站首页>The width of table is 4PX larger than that of tbody
The width of table is 4PX larger than that of tbody
2022-07-07 10:23:00 【weixin_ forty-two million one hundred and seventy-eight thousan】
table Width ratio tbody The width is large 4px, For example table Set width 1000px, but tbody The width is 996px
solve : Set up table Of border-spacing: 0; that will do , Default border-spacing: 2px;
table {
border-spacing: 0;}
border-spacing Is the border spacing attribute of the table , Set up boder-spacing: 5px 10px; Is to set the left and right spacing of table cells to 5px, The upper and lower spacing is 10px
In addition, such as setting border by 1px Of td Width is 50px Then I found out that finally td Width is 52px, Settable solution td The problem of width exceeding
td {
box-sizing: border-box;}
边栏推荐
- mysql插入数据创建触发器填充uuid字段值
- JMeter loop controller and CSV data file settings are used together
- Fiddler break point
- CONDA creates virtual environment offline
- 搭建物联网硬件通信技术几种方案
- 01 use function to approximate cosine function (15 points)
- A small problem of bit field and symbol expansion
- 【剑指Offer】42. 栈的压入、弹出序列
- STM32基础知识—内存映射
- MCU与MPU的区别
猜你喜欢
IIC基本知识
XML configuration file parsing and modeling
Some thoughts on the testing work in the process of R & D
Methods of adding centerlines and centerlines in SolidWorks drawings
Talking about the return format in the log, encapsulation format handling, exception handling
Postman interface test II
Serial communication relay Modbus communication host computer debugging software tool project development case
Embedded background - chip
Inno Setup 打包及签名指南
浅谈日志中的返回格式封装格式处理,异常处理
随机推荐
ES6中的函數進階學習
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
Some test points about coupon test
C#记录日志方法
Why is the reflection efficiency low?
Appx代码签名指南
Interface test
Guid主键
Programming features of ISP, IAP, ICP, JTAG and SWD
Factorial implementation of large integer classes
Postman interface test V
【剑指Offer】42. 栈的压入、弹出序列
根据设备信息进行页面跳转至移动端页面或者PC端页面
基于gis三维可视化技术的智慧城市建设
Fiddler break point
Talking about the return format in the log, encapsulation format handling, exception handling
LLVM之父Chris Lattner:为什么我们要重建AI基础设施软件
How to cancel automatic saving of changes in sqlyog database
ORM -- query type, association query
ORM -- grouping query, aggregation query, query set queryset object properties