我的CSS文件是:
#name_wrong_img
{
width:43px;
height:29px;
}
Run Code Online (Sandbox Code Playgroud)
这是我的HTML代码:
<img id="name_wrong_img" src="wrong.jpg" />
Run Code Online (Sandbox Code Playgroud)
上面的代码在Firefox和Chrome中运行良好.
#name_wrong_img
{
content:url(wrong.jpg);
width:43px;
height:29px;
}
<img id="name_wrong_img" />
Run Code Online (Sandbox Code Playgroud)
这在Chrome中运行良好.但不是在Firefox中.这有什么问题?
| 归档时间: |
|
| 查看次数: |
19698 次 |
| 最近记录: |