我想在我的博客上用红色显示问题,用蓝色显示答案。在问答中,我使用 MathJax 2 来渲染 MathML。我正在使用这样的 CSS 控制 MathJax 的着色。
h3, h2, h4, h5
{
text-align: left;
font-weight: bold;
font-family: Verdana;
}
.question
{
text-align: left;
color: Red;
}
.centerit
{
color: Blue;
text-align: center;
}
在 IE 中工作得非常好,但在 Firefox 中它总是以黑色显示 MathJax。有什么办法可以解决这个问题吗?