Home  >  Article  >  Web Front-end  >  The height problem of span under ie6 is a headache_html/css_WEB-ITnose

The height problem of span under ie6 is a headache_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:15:49972browse



In ie6, the picture also shows the following points.
There is no problem in ie7, ff.

.lv_stars_0{display :none}.lv_stars_1{display:inline-block;background :url(../image/stars.png) 0px 0px; height:12px; width:13px; margin-left:3px; border:1px solid black;}.lv_stars_2{display:inline-block;background :url(../image/stars.png) 0px -15px; height:12px; width:30px; margin-left:3px;}.lv_stars_3{display:inline-block;background :url(../image/stars.png) 0px -30px; height:12px; width:45px; margin-left:3px;}


Can the picture be displayed? ?
How should I change it...


Reply to the discussion (solution)

The attribute display:inline-block is not easy to use in IE6. You need to add *display:inline; zoom: 1

Oh, this is not the problem here. The minimum height of the box under IE6 is 20px. If it is less than 20, overflow: hidden

Thank you very much...

Learn about it

display:inline-block This attribute is not easy to use in IE6. You need to add *display:inline; zoom:1
No, you, old man, solved my problem. I am very grateful.

Oh, this is not the case. This problem is that the minimum height of the box under IE6 is 20px. If it is less than 20, overflow:hidden

is wrong. It is a sentence here

. It is urgent to continue. .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn