Home >Web Front-end >HTML Tutorial >The height problem of span under ie6 is a headache_html/css_WEB-ITnose
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;}
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. .