我有一个网站顶部的背景图片,它不会一直延伸到 Internet Explorer 8。已经研究了许多解决方案,但没有一个适合我。提前致谢。
<div id="header_combined">
<img align="left" src="/1.images/others/logo/logo4.gif" alt="my logo" />
My site
<strong> Ltd.</strong>
<p>"Some more text here"</p>
</div>
CSS
#header_combined {
background-size: 100%;
Width:100%;
float:left;
font-size: 300%; font-weight:bold; font-style:italic;color: #E1012F; text-align:left ;
font-family:Georgia, "Times New Roman", Times, serif; vertical-align:middle;
text-shadow: white 0.1em 0.1em 0.2em
padding-left:15em;
background-repeat:no-repeat;
background-image:url('/1.images/others/logo/combined logo2.jpg');
}
#header_combined strong {
color: black;
text-shadow: white 0.1em 0.1em 0.2em;
}
#header_combined p {
color: red;
font-size: 0.3em;
font-style:italic;
}