如何在内联字段中仅引用一个页面? Oracle Apex

发布于 2025-01-24 21:27:20 字数 324 浏览 2 评论 0原文

我正在尝试更改一页项目的颜色,但是我的所有页面项目都已更改。

我在做什么错?

.t-Form-label,
P1_E1_2_1_1 {
        color: red;
}

我在内联字段中写这篇文章:

”在此处输入图像说明”

I am trying to change the color of the one-page item, but all of my page items are changed.

What am I doing wrong?

.t-Form-label,
P1_E1_2_1_1 {
        color: red;
}

I am writing this in the Inline field:

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一笔一画续写前缘 2025-01-31 21:27:20

在Apex版本22.1上完成测试。创建的页面项目p70_item1p70_item2带有模板标签“可选”(不是“可选 - 浮动”)。看起来这样:

“在此处输入图像描述”

检查Chrome开发人员工具中的第一项:

< img src =“ https://i.sstatic.net/zdppv.png” alt =“ enter image Description ter在

这里p70_item1_label。该ID可以用作CSS选择器,并将“页面属性”部分设置为“ inline”:

“在此处输入映像”

保存并运行页面:

test done on Apex version 22.1. Created page item P70_ITEM1 and P70_ITEM2 with template label "optional" (not "optional - floating"). This looks like this:

enter image description here

Inspect the first item in the chrome developer tools:

enter image description here

Note that the label for page item P70_ITEM1 has an id of P70_ITEM1_LABEL. That id can be used as css selector and set as "Inline" in the "CSS" section of "Page Attributes":

enter image description here

Save and run the page:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文