没使用smarty时 直接用火狐和ie6(和ie8)直接浏览html正常 通过smarty 后(display加载页面) 火狐下正常,ie6和ie8都往左偏 怎么回事啊
解决方案 »
- php 查询语句select count(*) from 表 where type='文艺生活';怎么输出结果
- jquery的ajax加载页面到一div
- TinyMEC 编辑器图片上传的问题
- 请高手修改PHP读RSS源,只取第一条数据的代码,有码请进
- 请问这段代码是递归吗?帮忙解释一下
- 请教关于上传语句,谢谢
- 感谢Gdj(陈水.智商只有129.非卖品)帮我解决了问题
- 给HOTMAIL发送邮件的问题
- 头疼:这个文件有语法错误吗?
- 如何用PHP把RDF内容插入到Web站点之中(1)
- 请教一个错误Warning: rawurlencode() expects parameter 1 to be string, array given
- textarea里面的换行怎么解决?
2、检查样式表文件的位置(因火狐下正常,出错的可能行不大)
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<style>
body{
margin:0;
padding:0;
}
.top{
margin:0 auto;
width:980px;
height:100px;
background-color:#F00;}
.ment ul{
margin:0 auto;
width:980px;
height:100px;
}
.ment ul li{
margin:0;
width:245px;
height:100%;
list-style:none;
float:left;
}
#c1{
background-color:#000;
}
#c2{
background-color:#999;}
#c3{
background-color:#903;
}
#c4{
background-color:#00F;
}
</style>
<body>
<div class="top"></div>
<div class="ment">
<ul>
<li id="c1"></li>
<li id="c2"></li>
<li id="c3"></li>
<li id="c4"></li>
</ul>
</div>
</body>
</html>
以上是源代码 正在使用的朋友帮忙看下 是不是都偏左了 正常是剧中的
360chrome ment 偏右