【发布时间】:2011-07-28 06:13:17
【问题描述】:
我尝试制作自定义标签,以便用户可以输入在呈现为 HTML 时显示红色或粗体等内容的文本,例如,
<rb>text here becomes red and bold</rb> and goes to default here
这会在带有“note”类的 div 中呈现,并且我设置了以下 css
.note rb
{
color:Red;
font-weight:bold;
}
它可以在 ie9、chrome、firefox 中运行,但在 ie8 中不可用。我怎样才能让它在那里工作?
【问题讨论】:
标签: css ie8-compatibility-mode