开发者

textarea not receiving descendant CSS property [closed]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜