#ndcx ul li{background:url(2012ndcximg/ndcx_01.jpg) no-repeat center top;height:100px;}

大概有10个li 背景 分别对应图片 ndcx_01.jpg ndcx_02.jpg....


回复讨论(解决方案)

css可能有点问题? width 1800px 的图片在什么分辨率下都 局中且没有左右滚动条。



登录后复制


IE6 IE7兼容有问题。中间有间距调试不好了。。。。

那位帮忙看下啊。。

用js吧设置吧。。。

给li加个这个吧 vertical-align:bottom,试试看

#ydhd5 a{background:url(ydhd_05.jpg) no-repeat center top;height:323px;cursor:hand;display:block;}


我现在不想让 整个图片作为热点。想让图片的某一部分,做为热点。用coords可以吗?
可是作为背景的图片 无法用工具直接选取。 自己写坐标的话 怎么控制?

我是过来学习的

求大佬 指点。

楼主,给ul加个 overflow:auto; 试试。

楼主,给ul加个 overflow:auto; 试试。
6F

楼主为什么不把背景图片做成一个大图,用position定位每个li的背景。

09-09 13:32