echo '<div id="header1"></div>';
#header1 {
background: url(_images/header1.png);
width: 100%;
height: 240px;
背景图像出现在 Safari 中,但没有出现在任何其他浏览器中。有谁知道这是为什么以及我该如何解决?
From the above snippet i am just guessing that you have missed closing barcket }
but i am not saying its a perfect answer hope so that you have missed to write here or it can be a cause
echo '<div id="header1"></div>';
#header1 {
background: url(_images/header1.png);
width: 100%;
height: 240px;
}