【发布时间】:2010-05-27 08:16:12
【问题描述】:
这很奇怪,有问题的网站是blog.andrebatista.info,它是在 blogger.com 上托管的。我正在尝试使博客模板看起来与我的主网站 www.andrebatista.info 中的相同。
由于某种原因,如果我直接访问博客地址,Chrome 和 Safari 无法显示我所有的背景图片......所有这些。
但是,如果我先去www.andrebatista.info,然后再去博客它呈现就好了?¿
我自定义它的方式是在博客模板的 head 标记的最后添加一个指向我的主站点样式表的链接。该样式表如下所示:
*{ 边距:0; 填充:0; 边界:0; }
html,body {
background:#064169 url(http://www.andrebatista.info/images/main_gradient_slice.jpg) repeat-x;
font-family: Arial, "MS Trebuchet", sans-serif;
font-size:18px;
}
#main_wrapper{
margin: 0 auto;
width:1024px;
}
#header{
background: url(http://www.andrebatista.info/images/header.jpg);
height:133px;
border:none;
margin:0;
}
#menu_wrapper{
background: url(http://www.andrebatista.info/images/menu.jpg);
height:34px;
overflow:hidden;
}
#menu_wrapper .menu_item{
color:white;
float: left;
border: 1 px solid red;
height: 34px;
padding-top:10px;
text-align:center;
width:100px;
}
#menu_wrapper .first{
padding-left:240px;
float:left;
width:100px;
}
#menu_wrapper .active,#menu_wrapper .menu_item:hover{
background-color:white;
color:Teal;
cursor: pointer;
}
#content_area_wrapper{
background: url(http://www.andrebatista.info/images/body_bg_slice.jpg) repeat-y;
}
#content_area{
min-height:524px;
background: url(http://www.andrebatista.info/images/main_content_top.jpg) repeat-x;
}
#main_banner{
background: url(http://www.andrebatista.info/images/main_banner.jpg) no-repeat center center;
width:662px;
height:338px;
margin: 0 auto;
}
#main_banner div{
color:white;
padding-left:47px;
padding-right:164px;
padding-top:105px;
}
#text_area{
overflow:hidden;
width:662px;
margin:0 auto;
padding:14px;
}
#contentList{
padding:0 20px 20px 20px;
}
#text_area .left{
width:50%;
float:left;
}
#text_area .left{
width:50%;
float:right;
}
#footer2{
background: url(http://www.andrebatista.info/images/footer.jpg);
height:62px;
}
#footer{
background: url(http://www.andrebatista.info/images/footer.jpg);
height:62px;
}
关于我可能缺少什么的任何想法?
【问题讨论】:
标签: css safari google-chrome blogger