首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

在CSS之中实现<body topmargin="0">

2013-01-26 
在CSS之中实现body topmargin0!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN ht

在CSS之中实现<body topmargin="0">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {margin:0; padding:0; background: #F0F0F0; color:#6D6D6D; text-align:center}
div{ background-color:#FFFFFF}
-->
</style>
</head>
<body>
<div>TEST。。。div>
</body>
</html>

热点排行