当前位置:网站首页>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;}
边栏推荐
- IPv4套接字地址结构
- The variables or functions declared in the header file cannot be recognized after importing other people's projects and adding the header file
- 高数_第1章空间解析几何与向量代数_向量的数量积
- STM32 product introduction
- EasyExcel读取写入简单使用
- 求方程ax^2+bx+c=0的根(C语言)
- Can I open a stock trading account online? Is it safe
- 学习记录——高精度加法和乘法
- SolidWorks工程图中添加中心线和中心符号线的办法
- ES6中的函數進階學習
猜你喜欢

【STM32】STM32烧录程序后SWD无法识别器件的问题解决方法

LeetCode 练习——113. 路径总和 II

fiddler-AutoResponder

VS Code指定扩展安装位置

LLVM之父Chris Lattner:為什麼我們要重建AI基礎設施軟件

【acwing】789. Range of numbers (binary basis)

Encrypt and decrypt stored procedures (SQL 2008/sql 2012)

深入分析ERC-4907协议的主要内容,思考此协议对NFT市场流动性意义!

High number_ Chapter 1 space analytic geometry and vector algebra_ Quantity product of vectors

01 use function to approximate cosine function (15 points)
随机推荐
php \n 换行无法输出
Factorial implementation of large integer classes
MCU与MPU的区别
求最大公约数与最小公倍数(C语言)
2022.7.4DAY596
Advanced function learning in ES6
Apprentissage avancé des fonctions en es6
Es classes and objects, prototypes
Some thoughts on the testing work in the process of R & D
ArcGIS operation: batch modify attribute table
Leetcode exercise - 113 Path sum II
2022.7.3DAY595
Appx code signing Guide
【acwing】789. Range of numbers (binary basis)
【剑指Offer】42. 栈的压入、弹出序列
基于gis三维可视化技术的智慧城市建设
一文讲解单片机、ARM、MUC、DSP、FPGA、嵌入式错综复杂的关系
@Transcation的配置,使用,原理注意事项:
Guide de signature du Code Appx
Pdf document signature Guide