在DW中用css添加的样式只能在DW中显示出来浏览器里不显示 ,这是?

代码如下:<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>宏通首页</title>
<link href="tb.css" rel="stylesheet" type="text/css">
</head>

样式代码:
.ys {
background-image: url(images/%E5%AE%8F%E9%80%9A%E9%A6%96%E9%A1%B5_42.gif);
background-repeat: repeat-x;
}
.ys1 {
background-image: url(images/%E5%AE%8F%E9%80%9A%E9%A6%96%E9%A1%B5_06.gif);
background-repeat: repeat-x;
}
.ys2 {
background-image: url(images/%E5%AE%8F%E9%80%9A%E9%A6%96%E9%A1%B5_15.gif);
background-repeat: repeat-y;
}
我已经知道什么回事了,只是图片名字的问题。

你图片路径不要用中文命名
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答