gpt4 book ai didi

android - 下拉文字颜色

转载 作者:行者123 更新时间:2023-11-28 12:17:18 25 4
gpt4 key购买 nike

有人(请)能够解释如何解决我在 Android 浏览器上遇到的问题吗?下拉文本颜色在浏览器上是黑色的(见附件截图,左右)但在我的 Mac 上的 Firefox 和 Safari 上它很好!有什么想法吗?

谢谢!

enter image description here

网址是here

最佳答案

Android 中黑色的原因可能是因为有一个自定义样式表将 select 标记更改为黑色。

尝试改变

select {
margin-bottom: 0px;
margin-left: 20px;
border: 1px solid #444;
padding: 5px;
background: #222;
color: #FFF !important; //here is the change
width: 150px;

因为还有一个样式表有

select {
-webkit-appearance: menulist;
box-sizing: border-box;
align-items: center;
border: 1px solid;
border-image-source: initial;
border-image-slice: initial;
border-image-width: initial;
border-image-outset: initial;
border-image-repeat: initial;
white-space: pre;
-webkit-rtl-ordering: logical;
color: black; // this might be causing the problem in some custom style sheet
background-color: white;
cursor: default;
}

现在我不知道这是哪个样式表。找到它 :) 更多关于锁定右键单击 :)

编辑----

有人将此添加到您的 html

<style>
label.searchform-label {color: black; }
</style>

我不知道它来自哪里,但意识到这是一个问题:)

关于android - 下拉文字颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19090035/

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