没使用smarty时 直接用火狐和ie6(和ie8)直接浏览html正常 通过smarty 后(display加载页面) 火狐下正常,ie6和ie8都往左偏 怎么回事啊
解决方案 »
- 问几个关于MYSQL的like语句里插入PDO占位符的问题
- xp如何安装apache2 没有出现界面向导
- 40条优化php代码的小实例
- 求助:media player 什么属性可以控制其视窗的大小?
- 49+NULL等于什么??
- PHP为什么这么慢?奇怪的问题,求解!!!
- 如何使用php批量处理mysql数据?希望高手能直接给出代码,谢谢!
- 请问,apache的多域名怎么配置
- 如何取得地址栏中对变量所附的值??????
- 一个关于ActiveX的问题,,,急!!
- 请教一个错误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 偏右