水平线css问题,即9,<hr />颜色样式不起作用即9

Sil*_*ght 5 html colors horizontal-line internet-explorer-9

为什么下面的html代码在ie 9中不起作用:

<hr style="color:red;"/>
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题 ?

ale*_*lex 9

试试这个...

<hr style="background: red; border: none; height: 5px;" />
Run Code Online (Sandbox Code Playgroud)

jsFiddle.