显示问题:块 - 背景颜色不会显示。 [英] problem with display:block - background-color will not show.
本文介绍了显示问题:块 - 背景颜色不会显示。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在显示屏上:用于导航的块元素,我无法显示除白色以外的背景颜色。
我该怎么办?
On a display:block element for navigation, I cannot get a background color to show up other than white.
What do I do?
推荐答案
你需要发布你的代码。
展开 | 选择 | Wrap | 行号
#mainmenu中的background-color标签应该适用于之后的所有li标签。
The background-color tag in the #mainmenu should apply to all the li tags after it.
这篇关于显示问题:块 - 背景颜色不会显示。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文