开发者

textarea not receiving descendant CSS property [closed]

开发者 https://www.devze.com 2022-12-16 08:20 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. 开发者_开发百科 Closed 10 years ago.

I have the CSS setting:

.missing textarea {background-color: #fffcc !important;}

And the html looks like so:

<div id="label-add" class="jscript xtra-box sub-question missing">

<p>Additional Health Care Instructions</p>

<textarea id="addrule" name="addrule"></textarea>

</div>

It uses the XHTML 1.0 transitional DOCTYPE.

And, I've tried in FF and Chrome, and I'm not getting the textarea's background-color; it's not even showing up as overwritten in the debug console...


The color is missing a char. "#fffcc" needs one more char.


Your hex colour definition has only five digits. Can you try a full one with six?

Everything else looks in order to me.


#fffcc is missing one character

0

精彩评论

暂无评论...
验证码 换一张
取 消