【发布时间】:2018-01-20 04:14:20
【问题描述】:
我有一个 2 行 6 列的表格。
我在inspect element 玩,并提供了我需要的解决方案(见下图)
如你所见,它现在看起来不错。
一旦我将它应用到网站的 css 中,如下所示:
CSS
style1 //Categorie
{
width:175px;
display:inline-block;
}
.style2
{
width: 175px; //Klant
}
.style3
{
width:175px; // Website
}
.style4
{
width:175px; // Titel
}
我输入的代码是第一行(下拉列表Categorie)到display:inline-block
任何人都知道结果可能会有所不同吗?
我需要将“Klant”移到左侧,靠近“Categorie”
【问题讨论】:
-
一些 css 和 html 会有很大帮助
-
@LucPrevoo 我在更新时问了哈哈,css 不多,只是应用了宽度
-
绝对需要 html,fiddle 会很有帮助
-
你想要获得什么样的效果/外观?
-
你能发布html吗?
标签: html css asp.net css-tables