漳州小猪网 发表于 2014-7-3 08:01:57

CSS图片地址修改了,但是页面出问题。

    我已经把图片保存本地,把图片地址修改到我的本地路径。




下面是没有修改CSS图片地址时!




漳州小猪网 发表于 2014-7-3 08:06:50

.co1{color:#ba350f;}.clear{clear:both;}.mt10{margin-top:10px;}.col3_1{zoom:1;}.col3_1 .c_prior{float:left;width:732px;}.col3_1 .c_extr{float:right;width:245px;}.col3_1 .c_prior .p_sub{float:left;width:280px;}.col3_1 .c_prior .p_main{float:right;width:440px;}.bgbox{background:#fff;padding:8px;border-radius:5px;}.shadow-br{box-shadow:1px 1px 2px #bbb;}.gold,.sofa,#newsSlider ul.pagination li a,.hotthread.icon,.zstmh{background:url(template/lcpigcom/images/zzpig/index_v1401.png) no-repeat 0 -9999px;}.hotSlider{position:relative;z-index:1;}#newsSlider{position:relative;clear:both;width:280px;overflow:hidden;height:430px;}#newsSlider .container_s{width:280px;height:430px;overflow:hidden;position:relative;margin:0;}#newsSlider ul.slides{position:absolute;top:0;left:0;list-style:none;padding:0;margin:0;}#newsSlider img{width:280px;height:430px;}#newsSlider ul.slides dl{margin-top:35px;}#newsSlider ul.slides dt{position:absolute;width:270px;height:40px;padding:0 5px 0 5px;bottom:63px;height:40px;z-index:100;}#newsSlider ul.slides a{cursor:pointer;color:#fff;font-size:14px;font-weight:700;height:25px;line-height:25px;overflow:hidden;}#newsSlider ul.slides li{position:absolute;top:0;width:280px;display:none;}#newsSlider ul.pagination{padding:0;margin:0;position:absolute;right:5px;bottom:10px;}#newsSlider ul.pagination li{float:left;margin-right:5px;}#newsSlider ul.pagination li a{background-position:0px 0px;width:15px;display:block;text-align:center;font:bold 12px/15px "Times New Roman",Times,serif;color:#fff}#newsSlider ul.pagination li.active a,#newsSlider ul.pagination li a:hover{background-position:0 -15px;text-decoration:none;color:#fff;}#newsSlider li p{background-color:#000;opacity:0.5;filter:alpha(opacity=50);position:absolute;bottom:69px;left:0;width:280px;line-height:40px;height:40px;}.hotthread{background:#E9EEF4;overflow:hidden;position:relative;height:430px;border-radius:5px;}.hotthread.icon{position:absolute;top:0;left:0;width:54px;height:49px;background-position:right top;}.hotthread .first{margin-top:10px;}.hot_t{height:75px;overflow:hidden;margin:0 5px 0 5px;padding:4px 8px 4px 8px;border-bottom:0px dashed #DBDBDB;}.hot_t h2{height:30px;line-height:30px;font-size:22px;font-weight:400;text-align:center;overflow:hidden;color:#333;font-family:"microsoft yahei","SimHei";}.hot_t dd{margin-top:5px;line-height:1.8;color:#666;}.hot_t dd a{display:block;height:44px;line-height:22px;font-size:12px;overflow:hidden;}.hot_l{font-size:14px;padding:10px 8px 3px 8px;margin-top:10px;border-top:1px dashed #979797;}.hot_l li{display:block;float:left;width:412px;overflow:hidden;padding:3px 10px 5px 10px;background:url(template/lcpigcom/images/zzpig/dot.gif) no-repeat 0 50%;}.hot_l .topic_l{float:left;font-size:14px;}.hot_l .y{color:#639EBE;font-size:12px;}.mod_activity{clear:both;margin-top:20px;}.mod_activity .hd{height:30px;line-height:30px;}.mod_activity .caption{text-indent:10px;font:20px "microsoft yahei";}.activity-list a{display:block;padding:10px 10px 10px 10px;_zoom:1;cursor:pointer;}.activity-list a:hover{text-decoration:none;background-color:#f6f2e9;}.activity-list .text-img{float:left;margin:5px 8px 0 0;width:60px;height:60px;}.activity-list .text-desc{overflow:hidden;_zoom:1;}.activity-list .desc-title{margin-bottom:5px;height:22px;line-height:22px;font:14px "microsoft yahei";color:#eb8c10;overflow:hidden;}.activity-list .desc-title em{font-size:18px;}.activity-list .desc-detail{height:36px;color:#666;overflow:hidden;}.gold,.sofa{float:left;display:block;height:33px;cursor:pointer;}.gold{margin-left:15px;width:120px;background-position:0px -70px;}.sofa{margin-left:15px;width:88px;background-position:-121px -70px;}.ongold{background-position:0px -105px;}.mod1{background:#fff;border-radius:5px;box-shadow:1px 1px 2px #bbb;padding:10px;}.mod1 .hd{height:40px;}.mod1 .hd h3{float:left;padding:0 10px 0 10px;color:#fff;font-family:"microsoft yahei";font-size:16px;line-height:40px;}.mod1 .more{float:right;line-height:40px;}.mod1 .bd{padding:10px;}.ulbox{padding:10px0px 10px 6px;background:#fff;position:relative;border-radius:5px;box-shadow:1px 1px 2px #bbb;}.ulbox .hd{height:40px;}.ulbox .hd h3{float:left;padding:0 10px 0 10px;color:#fff;font-family:"microsoft yahei";font-size:16px;line-height:40px;}.ulbox .more{float:right;line-height:40px;margin-right:10px;}.ulbox .wid332{width:332px;float:left;height:488px;overflow:hidden;}.ulbox .wid332 li{float:left;width:156px;height:156px;margin:0 10px 10px 0;position:relative;font-size:14px;font-family:"Microsoft YaHei","SimHei";}.ulbox li span{height:25px;width:156px;display:block;background-color:#000;position:absolute;left:0px;bottom:0px;opacity:0.4;filter:alpha(opacity=40);overflow:hidden;}.ulbox li a:hover span{background:#ea8f36;}.ulbox li img{width:156px;height:156px;}.ulbox li em{height:25px;width:146px;display:block;position:absolute;left:0px;bottom:0px;padding-left:10px;line-height:25px;color:#FFF;overflow:hidden;}.ulbox .big,.ulbox .big img{width:322px !important;height:322px !important;}.ulbox .big span{width:322px !important;}.ulbox .big em{width:312px !important;}.nomr{margin-right:0 !important;}.col2_1{width:1016px;overflow:hidden;}.imBox{width:462px;height:338px;padding:15px 15px 5px 15px;background:#fff;float:left;display:inline;position:relative;border-radius:5px;box-shadow:1px 1px 2px #bbb;margin:0 16px 15px 0px;}.imBox .hd{height:35px;text-align:right;background:url(template/lcpigcom/images/zzpig/lmimg.gif) no-repeat;}.imBox .bd{margin-top:10px;overflow:hidden;}.imBox .intro{text-indent:2em;color:#666;height:65px;line-height:22px;margin:5px 0 5px 0;}.imBox .list{height:78px;overflow:hidden;}.imBox .list li{line-height:26px;height:26px;overflow:hidden;font-size:14px;padding-left:10px;background:url(template/lcpigcom/images/zzpig/listylebg.png) no-repeat 0 12px;}.imBox .hd a{line-height:35px;}.imBox .intro a,.imBox .hd a,.Detail .txt a{color:#639ebe;}.imBox .z{height:290px;overflow:hidden;}.imBox .y{width:222px;height:290px;}.imBox .z a{display:block;width:228px;height:290px;text-align:center;line-height:26px;overflow:hidden;background:#ea8f36;color:#fff;}.imBox .y h2{line-height:24px;height:24px;overflow:hidden;font-size:14px;text-align:center;}.imBox .y h2 a{color:#f7881b;}.zstmh{height:19px;overflow:hidden;background-position:0 -232px;}.Detail{height:80px;overflow:hidden;margin-top:8px;}.Detail .img{float:left;display:block;width:80px;height:80px;overflow:hidden;}.Detail .txt{width:133px;height:80px;overflow:hidden;float:right;}.fooditem .z a{background:#ea8f36;}.Travalitem .hd{background-position:0 -40px;}.Travalitem .z a{background:#7bbc3c;}.shopping .hd{background-position:0 -120px;}.shopping .z a{background:#000000;}.wedding .hd{background-position:0 -200px;}.wedding .z a{background:#ea4563;}.family .hd{background-position:0 -280px;}.family .z a{background:#c42c08;}.baby .hd{background-position:0 -240px;}.baby .z a{background:#6cd2d2;}.car .hd{background-position:0 -320px;}.car .z a{background:#2e83bf;}.ent .hd{background-position:0 -360px;}.ent .z a{background:#9c41ad;}.col_mapbbs{background:#fff;border-radius:5px;box-shadow:1px 1px 2px #bbb;padding:10px 15px 10px 15px;}.mapbbs{width:965px;}.mapbbs li{float:left;margin-right:5px;margin-bottom:5px;}.mapbbs .con{width:188px;height:164px;overflow:hidden;background:#fff;border-top:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.2);}.mapbbs .con2{width:381px;}.map-info{float:left;padding:8px 0 0 10px;width:176px;height:156px;overflow:hidden;}.mapbbs .hd{position:relative;}.mapbbs h2{font-size:27px;font-family:"microsoft yahei";line-height:40px;}.map-bd{padding-top:15px;zoom:1;}.map1 h2{color:#fb7f62;}.map2 h2{color:#07c1d5;}.map3 h2{color:#206290;}.map4 h2{color:#653b0b;}.map5 h2{color:#f479a1;}.map6 h2{color:#fb435d;}.map7 h2{color:#f49460;}.map8 h2{color:#bd6060;}.map9 h2{color:#c1a86a;}.num{position:absolute;right:5px;top:5px;width:38px;height:44px;background:url(template/lcpigcom/images/zzpig/map_num.png) no-repeat -9999px 0;}.map1 .num{background-position:0 -0px;}.map1 .map-on{border-top-color:#fb7f62;}.map1 .map-on .num{background-position:0 -50px;}.map2 .num{background-position:0 -100px;}.map2 .map-on{border-top-color:#07c1d5;}.map2 .map-on .num{background-position:0 -150px;}.map3 .num{background-position:0 -200px;}.map3 .map-on{border-top-color:#206290;}.map3 .map-on .num{background-position:0 -250px;}.map4 .num{background-position:0 -300px;}.map4 .map-on{border-top-color:#653b0b;}.map4 .map-on .num{background-position:0 -350px;}.map5 .num{background-position:0 -400px;}.map5 .map-on{border-top-color:#f479a1;}.map5 .map-on .num{background-position:0 -450px;}.map6 .num{background-position:0 -500px;}.map6 .map-on{border-top-color:#fb435d;}.map6 .map-on .num{background-position:0 -550px;}.map7 .num{background-position:0 -600px;}.map7 .map-on{border-top-color:#f49460;}.map7 .map-on .num{background-position:0 -650px;}.map8 .num{background-position:0 -700px;}.map8 .map-on{border-top-color:#bd6060;}.map8 .map-on .num{background-position:0 -750px;}.map9 .num{background-position:0 -800px;}.map9 .map-on{border-top-color:#c1a86a;}.map9 .map-on .num{background-position:0 -850px;}.map-bd h3{float:left;overflow:hidden;width:85px;height:30px;line-height:30px;font-weight:normal;}.mapbbs .con2 .img{float:right;}.linkBox{border-radius:5px;box-shadow:1px 1px 2px #bbb;background:#fff;overflow:hidden;}.linkBox .z{background:#ff8f7b;width:98px;font-size:16px;line-height:60px;font-weight:700;color:#fff;text-align:center;padding-bottom:999px;height:100%;margin-bottom:-999px;}.lk{width:890px;padding:10px 0 10px 0;}.linkBox a{display:inline-block;float:left;padding:0 5px 0 5px;line-height:24px;white-space:nowrap;color:#333;}

漳州小猪网 发表于 2014-7-3 08:07:43

.icon,.zstmh{background:url(template/lcpigcom/images/zzpig/index_v1401.png) no-repeat 0 -9999px;}

这样修改有错吗?

admin 发表于 2014-7-3 11:26:38

漳州小猪网 发表于 2014-7-3 00:07
.icon,.zstmh{background:url(template/lcpigcom/images/zzpig/index_v1401.png) no-repeat 0 -9999px;}
...

给下你的网址!

漳州小猪网 发表于 2014-7-3 11:51:26

admin 发表于 2014-7-3 11:26
给下你的网址!

在本地演示

admin 发表于 2014-7-3 14:43:47

漳州小猪网 发表于 2014-7-3 03:51
在本地演示

检查下腻的样式表是不是有误!

漳州小猪网 发表于 2014-7-4 07:51:25

admin 发表于 2014-7-3 14:43
检查下腻的样式表是不是有误!

下腻的样式表是什么意思呢

admin 发表于 2014-7-4 11:04:49

你的样式表没有加载成功!

漳州小猪网 发表于 2014-7-9 08:26:30

admin 发表于 2014-7-4 11:04
你的样式表没有加载成功!

那我已经什么处理呢

admin 发表于 2014-7-9 14:53:52

漳州小猪网 发表于 2014-7-9 00:26
那我已经什么处理呢

检查下模板!比如header_common.htm或者CSS里面的路径是否正确!
页: [1]
查看完整版本: CSS图片地址修改了,但是页面出问题。