gpt4 book ai didi

javascript - 扩展特定的列标题以包含向上/向下箭头

转载 作者:行者123 更新时间:2023-11-28 15:03:40 25 4
gpt4 key购买 nike

我正在使用 MVC 和周围看到的网格助手。我正在尝试扩展列标题,因为我必须为特定列放置向上和向下箭头。例如,我调用我的标题列 sh 并使用 css 尝试增加它但无济于事。我想知道是否有人有更好的主意。我听说过使用 javascript,但我以前没有使用过。

th.sh, td.sh
{
width:50px;
height:300px;
border-top: 100px;
padding-top: 100px;
text-align: center;
}

最佳答案

您是否检查过选择器的特异性? (参见:http://www.w3.org/TR/CSS2/cascade.html#specificity)。另一个属性可能会覆盖您尝试使用 th.sh 设置的内容

关于javascript - 扩展特定的列标题以包含向上/向下箭头,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1041506/

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