Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将自定义 css 添加到 Wordpress 中的某个表中。
但是,似乎默认的 css 可能会覆盖它?
<table id="2table" border="0" cellspacing="3" cellpadding="3">
CSS:
table#2table { margin-left: 450px auto; margin-top: -205px auto; }
ID 不得以数字开头。
将您的更改id="2table"为其他内容id="table2",然后相应地调整您的 CSS。
id="2table"
id="table2"
我正在尝试将给定字段与模型Header中的其他字段进行比较。Alarm正如您在代码中看到的,我通过 3 个不同的步骤过滤警报。前 2 个工作完美。但是,最后一个不起作用。它说:
Header
Alarm
undefined method `wh