UI

今天把css在firefox下给居中了!

<html>
<head>
<style>
body,td,th {
font-size: 12px;
}
body {
background-image: url(images/bg.gif);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#all {
margin:0px auto 0px auto;
padding: 0px;
}
#body {
text-align: center;
background-color: #FFFFFF;
height: auto;
width: 778px;
padding-right: 5px;
padding-left: 5px;
}
#head_top {
width: 100%;
height: 87px;
background-color: #F0F1F3;
margin-bottom: 3px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #CCCCCC;
}
#head_menu {
color: #FFFFFF;
background-color: #C60000;
text-align: center;
height: 20px;
width: 100%;
padding-top: 5px;
}
#copytop {
color: #FFFFFF;
background-color: #C60000;
text-align: center;
height: 20px;
width: 100%;
padding-top: 3px;
}
#copyright {
background-color: #EAEAEA;
height: 50px;
width: 100%;
padding-top: 20px;
}
</style>
</head>
<body>
<div id="all" align="center">
没有想到最后面用了这个,呵呵,不过在%之后,好多了!
</div>
</body>
</html>
分类: UI

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

相关文章

开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。

返回顶部