我的网页为什么随着浏览器缩小,而挤成一团。
代码:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtm...
代码:<!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=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
margin-left: 0%;
margin-right: 0%;
margin-top: 0%;
}
.STYLE1 {font-family: "宋体"}
.STYLE2 {
font-size: xx-large;
color: #FF0000;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #663333;
}
a:hover {
text-decoration: underline;
color: #9999CC;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="14%" bordercolor="#FFFFFF" bgcolor="#FF9966"><div align="right"><a href="#">收藏弹友基地</a></div></td>
<td width="37%" bordercolor="#FFFFFF" bgcolor="#FF9966"><div align="right">你好!欢迎你来到弹友基地!</div></td>
<td width="49%" bordercolor="#FFFFFF" bgcolor="#FF9966"><div align="center">[<a href="#">登陆</a>] [<a href="#">注册</a>]</div></td>
</tr>
</table>
<p> </p>
</body>
</html> 展开
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
margin-left: 0%;
margin-right: 0%;
margin-top: 0%;
}
.STYLE1 {font-family: "宋体"}
.STYLE2 {
font-size: xx-large;
color: #FF0000;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #663333;
}
a:hover {
text-decoration: underline;
color: #9999CC;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="14%" bordercolor="#FFFFFF" bgcolor="#FF9966"><div align="right"><a href="#">收藏弹友基地</a></div></td>
<td width="37%" bordercolor="#FFFFFF" bgcolor="#FF9966"><div align="right">你好!欢迎你来到弹友基地!</div></td>
<td width="49%" bordercolor="#FFFFFF" bgcolor="#FF9966"><div align="center">[<a href="#">登陆</a>] [<a href="#">注册</a>]</div></td>
</tr>
</table>
<p> </p>
</body>
</html> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询