这个css样式哪里错了啊?
- HTML code
.label1{ height: 30px; width: 79px; color: Black; background-image: url('../Forecast/images/趋势.png'); background-repeat: no-repeat; font-size: 9pt; font-weight: normal; text-align: center; cursor: pointer;}为什么我这个css样式放在td title="趋势" id="aTrend" class="label1" onclick="Change('pagecontent1','aTrend')">
里面里面的图像没有显示出来呢? 路径也正确啊
[解决办法]
- CSS code
background-image: url('../Forecast/images/趋势.png'); <!--background-repeat: no-repeat;-->
[解决办法]
background-repeat: no-repeat
不要这个