当前位置:网站首页>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;}
边栏推荐
- Smart city construction based on GIS 3D visualization technology
- 单片机(MCU)最强科普(万字总结,值得收藏)
- Review of the losers in the postgraduate entrance examination
- 01 use function to approximate cosine function (15 points)
- Weekly recommended short videos: what are the functions of L2 that we often use in daily life?
- 嵌入式工程师如何提高工作效率
- AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
- Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
- Differences between MCU and MPU
- The Hal library is configured with a general timer Tim to trigger ADC sampling, and then DMA is moved to the memory space.
猜你喜欢
The Hal library is configured with a general timer Tim to trigger ADC sampling, and then DMA is moved to the memory space.
字符串格式化
Pdf document signature Guide
[learning notes - Li Hongyi] Gan (generation of confrontation network) full series (I)
1321:【例6.3】删数问题(Noip1994)
【acwing】789. Range of numbers (binary basis)
Guide de signature du Code Appx
How to cancel automatic saving of changes in sqlyog database
Several schemes of building hardware communication technology of Internet of things
AHB bus in stm32_ Apb2 bus_ Apb1 bus what are these
随机推荐
【acwing】789. Range of numbers (binary basis)
Prototype object in ES6
The request object parses the request body and request header parameters
单片机(MCU)最强科普(万字总结,值得收藏)
The Hal library is configured with a general timer Tim to trigger ADC sampling, and then DMA is moved to the memory space.
P1031 [NOIP2002 提高组] 均分纸牌
MCU is the most popular science (ten thousand words summary, worth collecting)
Socket通信原理和实践
Word自动生成目录的方法
基于gis三维可视化技术的智慧城市建设
@Transcation的配置,使用,原理注意事项:
How to cancel automatic saving of changes in sqlyog database
Google colab loads Google drive (Google drive is used in Google colab)
Serial communication relay Modbus communication host computer debugging software tool project development case
[email protected] can help us get the log object quickly
Leetcode exercise - 113 Path sum II
fiddler-AutoResponder
Es classes and objects, prototypes
【HigherHRNet】 HigherHRNet 详解之 HigherHRNet的热图回归代码
[sword finger offer] 42 Stack push in and pop-up sequence