我无法将图片显示在我的HTML中
<div id="header">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/web/20120116002959oe_/http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="580" height="250">
<param name="movie" value="images/stockbridgeiron.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="images/stockbridgeiron.swf" width="580" height="250" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
css代码
div#header {
width: 928px;
height: 250px;
background: url(images/bg-header.jpg) top left no-repeat;
text-align: right;
}
答案 0 :(得分:1)
这是因为使用此选择器覆盖了背景:
.thrColFixHdr #header
您可以在背景属性中添加!important来覆盖它。
background: url(images/bg-header.jpg) top left no-repeat !important;