gpt4 book ai didi

html - 删除 TD 内容前的空格

转载 作者:行者123 更新时间:2023-11-28 17:29:51 24 4
gpt4 key购买 nike

我创建了一个简单的 HTML 表格来放置不同的页面内容:文本、按钮......

我想删除每个 <td> 中显示的额外空间, 出现在 <td> 的内容之前.

enter image description here

见上图。文本前的空格。

抱歉,我不得不删除文本内容。

最佳答案

尝试应用这种风格

#yourtableid td
{
padding-top:0;
}

关于html - 删除 TD 内容前的空格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37073928/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com