账号通
    

账号  

密码  

1336

查看

0

回复
主题:网页模板上传到系统后不能正常显示 [收藏主题]  
fuzhenghu2 当前离线

1

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:212 分
登录次数:2 次
注册时间:2007/8/13
最后登录:2007/10/9
fuzhenghu2 发表于:2007/8/13 22:58:00   | 只看该作者 查看该作者主题 楼主 
科汛在线商城系统(NET)

这是不是BUG啊?还是我哪里做错了。网管们进来看一下。

做好的网页不放到科讯系统里的调试是正常的,分别在IE6和FIREFOX里调试均居中显示。如下图


此主题相关图片如下:firefox.gif
firefox.gif

可是放到科讯系统后就在FIREFOX里调试还是正常的,到了IE6里调试就不居中显示了,呈左对齐了,如下图


此主题相关图片如下:ie.gif
ie.gif

网页原文件如下:

<html>
<head><title>CompanyName - PageName</title>
<meta http-equiv=Content-type content="text/html; charset=UTF-8">
<meta http-equiv=Content-Language content=en-us>
<meta http-equiv=imagetoolbar content=no>
<meta content=true name=MSSmartTagsPreventParsing>
<meta content=Description name=description>
<meta content=Keywords name=keywords>
<meta content="Enlighten Designs" name=author>
<STYLE type=text/css media=all>@import "/images/master.css";</STYLE>
</head>
<body >
<div id=page-container>Hello world.
<div id=main-nav>Main Nav</div>
<div id=header>Header</div>
<div id=sidebar-a>SiLorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida enim ut risus. Praesent sapien purus, ultrices a, varius ac, suscipit ut, enim. Maecenas in lectus. Donec in sapien in nibh rutrum gravida. Sed ut mauris. Fusce malesuada enim vitae lacus euismod vulputate. Nullam rhoncus mauris ac metus. Maecenas vulputate aliquam odio. Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget, purus. Suspendisse mattis nunc vestibulum debar A</div>
<div id=content>ConteLorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida enim ut risus. Praesent sapien purus, ultrices a, varius ac, suscipit ut, enim. Maecenas in lectus. Donec in sapien in nibh rutrum gravida. Sed ut mauris. Fusce malesuada enim vitae lacus euismod vulputate. Nullam rhoncus mauris ac metus. Maecenas vulputate aliquam odio. Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget, purus. Suspendisse mattis nunc vestibulum ligula. </div>
<div id=footer>Footer</div></div></body>
</html>
<script src="http://localhost/ks_inc/ajax.js"></script>

CSS原文件如下:

#page-container {
width: 760px;
margin: auto;

background: red;
}

html, body {
margin: 0;
padding: 0;
}

#main-nav {
background: red;
height: 50px;
}
#header {
background: blue;
height: 150px;
}
#sidebar-a {
width: 280px;

float: right;
background: darkgreen;
}
#content {
margin-right: 280px;
background: green;
}
#footer {
clear: both;
background: orange;
height: 66px;
}

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.21875秒 powered by KesionCMS 9.0