我又一个SPAN标签。用来显示背景图片的。为什么在IE8兼容性模式下能显示图片。不兼容模式不显示。怎么回事??
.image-suu{width:25px;height:24px;*display:inline;*zoom:1;background-image:url(global.png);background-position:-180px -72px;background-repeat:no-repeat;}
没人来么?
span里面是空的么 填上空格试试 ----
不行啊。兼容性模式下能显示图片。不兼容模式不能显示图片
.image-suu{width:25px;height:24px;display:inline-block;*display:inline;*zoom:1;background:url(global.png) no-repeat -180px -72px;}
测试下!
.image-suu{width:25px;height:24px;display:inline-block;*display:inline;*zoom:1;background:url(global.png) no-repeat -180px -72px;}
测试下!
还是不行啊
引用 4 楼 的回复:
.image-suu{width:25px;height:24px;display:inline-block;*display:inline;*zoom:1;background:url(global.png) no-repeat -180px -72px;}
测试下!
还有显示图片了。可是图片整体向上浮动了。怎么回事
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号