怎样使网页上部和下部不留有空闲区域,紧顶着浏览器客户区显示 <body style="margin: 0px;">就可以了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!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> <title> new document </title> <meta name="generator" content="editplus" /> <meta name="author" content="Gao YiXiang" /> <meta name="email" content="[email protected]" /> <meta name="keywords" content="javascript dhtml dom" /> <meta name="description" content="I love web development." /> <style type="text/css">body{ margin: 0px 0px 0px 0px;} </style></head><body> 紧贴着</body></html> 用table行不?!L@_@K<!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> <title> new document </title> <meta name="generator" content="editplus" /> <meta name="author" content="Gao YiXiang" /> <meta name="email" content="[email protected]" /> <meta name="keywords" content="javascript dhtml dom" /> <meta name="description" content="I love web development." /> <style type="text/css">body{ height: 100%; margin: 0px 0px 0px 0px;} </style></head><body> <table width="100%" height="100%" style="border-collapse: collapse;"> <tr> <td valign="top" style="background-color: white; color: black">紧贴顶</td> </tr> <tr> <td valign="bottom" style="background-color: black; color: white">紧贴底</td> </tr> </table></body></html> <!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> <title>Example</title> <meta name="generator" content="No white spaces" /> <meta name="author" content="Mike Cheers" /> <meta name="email" content="[email protected]" /> <meta name="description" content="I love everything." /> <style type="text/css">body{ margin: 0px; padding:0px;} </style></head><body> 无空隙</body></html> ExtJs4.2和struts2使用模型传值问题 jquery插件获取数据的讨论 firefox缩放 [ExtJS] JsonStore如何读取自定义数据? table任意行的数据不能相同 js如何让权重取数组? 用radio控制select是否有效!急 关于在function里传值的问题 在javascript里调用xml,如何定位当前节点,非常急,做不出来这门课就down掉! javascript 和 jscript是不是一样?? 求助:JavaScript 跨域访问 tree前加checkbox,数据写在JS中,如何判断选中并存入FORM中呢?表单如何取值?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="Gao YiXiang" />
<meta name="email" content="[email protected]" />
<meta name="keywords" content="javascript dhtml dom" />
<meta name="description" content="I love web development." />
<style type="text/css">
body
{
margin: 0px 0px 0px 0px;
}
</style>
</head>
<body>
紧贴着
</body>
</html>
<!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>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="Gao YiXiang" />
<meta name="email" content="[email protected]" />
<meta name="keywords" content="javascript dhtml dom" />
<meta name="description" content="I love web development." />
<style type="text/css">
body
{
height: 100%;
margin: 0px 0px 0px 0px;
}
</style>
</head>
<body>
<table width="100%" height="100%" style="border-collapse: collapse;">
<tr>
<td valign="top" style="background-color: white; color: black">紧贴顶</td>
</tr>
<tr>
<td valign="bottom" style="background-color: black; color: white">紧贴底</td>
</tr>
</table>
</body>
</html>
<!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>
<title>Example</title>
<meta name="generator" content="No white spaces" />
<meta name="author" content="Mike Cheers" />
<meta name="email" content="[email protected]" />
<meta name="description" content="I love everything." />
<style type="text/css">
body
{
margin: 0px;
padding:0px;
}
</style>
</head>
<body>
无空隙
</body>
</html>