(编辑:jimmy 日期: 2024/12/24 浏览:2)
<h3 id="header">
<span>Revised Image Replacement</span>
</h3>
#header {width: 329px;height: 25px;background-image: url(sample-opaque.gif);}
#header span {display: none;}
<h3 id="header">
<img src="shim.gif" alt="Revised Image Replacement" />
<span>Revised Image Replacement</span>
</h3>
#header {width: 329px;height: 25px;background-image: url(sample-opaque.gif);}
#header span {display: none;}
<h3 id="header">
Revised Image Replacement
</h3>
#header {background: url(sample-opaque.gif) no-repeat top right;width: 2329px;height: 25px;margin: 0 0 0 -2000px;}
<h3 id="header">
Revised Image Replacement
</h3>
#header {
padding: 25px 0 0 0;
overflow: hidden;
background-image: url(sample-opaque.gif);
background-repeat: no-repeat;
height: 0px !important;
height /**/:25px;
}
<h3 id="header">
Revised Image Replacement
</h3>
#header {
text-indent: -100em;
overflow: hidden;
background: url(sample-opaque.gif);
height: 25px;
}
<h3 id="header">
Revised Image Replacement
</h3>
#header {
text-indent: -5000px;
background: url(sample-opaque.gif);
height: 25px;
}
<h3 id="header">
<span>Revised Image Replacement</span>
</h3>
#header {width: 329px;height: 25px;background-image: url(sample-opaque.gif);}
#header span {display: block;width: 0;height: 0;overflow: hidden;}
<h3 id="header">
<span></span>Revised Image Replacement
</h3>
#header {width: 329px;height: 25px;position: relative;}
#header span {background: url(sample-opaque.gif) no-repeat;position: absolute;width: 100%;height: 100%;}
<h3 id="header">
Revised Image Replacement
</h3>
#header {
background: url(sample-opaque.gif) no-repeat;
width: 329px;
height: 25px;
font-size: 1px;
color: #xxxxxx;
}
<h3 id="header" title="Revised Image Replacement">
<span></span>Revised Image Replacement
</h3>
#header {width: 329px;height: 25px;position: relative;}
#header span {background: url(sample-opaque.gif) no-repeat;position: absolute;width: 100%;height: 100%;}