相关疑难解决方法(0)

自定义标签在ie8中不起作用

我尝试制作自定义标签,以便用户可以输入显示红色或粗体等字样的文本,例如,当呈现为HTML时,

<rb>text here becomes red and bold</rb> and goes to default here
Run Code Online (Sandbox Code Playgroud)

这会在带有'note'类的div中呈现,并且我有以下css设置

.note rb
{
    color:Red;
    font-weight:bold;
}
Run Code Online (Sandbox Code Playgroud)

它适用于ie9,chrome,firefox,但在ie8中不起作用.我怎样才能在那里工作?

css ie8-compatibility-mode

3
推荐指数
1
解决办法
2838
查看次数

标签 统计

css ×1

ie8-compatibility-mode ×1