当前位置:网站首页>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;}
边栏推荐
- 0x0fa23729 (vcruntime140d.dll) (in classes and objects - encapsulation.Exe) exception thrown (resolved)
- 每周推荐短视频:L2级有哪些我们日常中经常会用到的功能?
- 01 use function to approximate cosine function (15 points)
- JMeter loop controller and CSV data file settings are used together
- 浅谈日志中的返回格式封装格式处理,异常处理
- 【二开】【JeecgBoot】修改分页参数
- Talking about the return format in the log, encapsulation format handling, exception handling
- 学习记录——高精度加法和乘法
- AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
- ORM model -- creation and query of data records
猜你喜欢
Experience sharing of software designers preparing for exams
ORM -- database addition, deletion, modification and query operation logic
Smart city construction based on GIS 3D visualization technology
Prototype object in ES6
SQLyog数据库怎么取消自动保存更改
Several schemes of building hardware communication technology of Internet of things
IIC基本知识
Encrypt and decrypt stored procedures (SQL 2008/sql 2012)
Serial communication relay Modbus communication host computer debugging software tool project development case
STM32 ADC and DMA
随机推荐
2022.7.3DAY595
Apprentissage avancé des fonctions en es6
Or in SQL, what scenarios will lead to full table scanning
Remote meter reading, switching on and off operation command
Postman interface test II
Study summary of postgraduate entrance examination in November
BigDecimal value comparison
Postman interface test VI
Adb 实用命令(网络包、日志、调优相关)
STM32基础知识—内存映射
Appx代码签名指南
JMeter loop controller and CSV data file settings are used together
@Configuration, use, principle and precautions of transmission:
Factorial implementation of large integer classes
The variables or functions declared in the header file cannot be recognized after importing other people's projects and adding the header file
STM32 ADC和DMA
IPv4 socket address structure
[ORM framework]
IPv4套接字地址结构
学习记录——高精度加法和乘法