为什么用dreamweaver中编辑的如下网页在设计栏和真正浏览时不同

来源:百度知道 编辑:UC知道 时间:2024/05/12 19:57:35
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
font-size: 14px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #030303;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.style3 {font-size: 12px}
.style4 {color: #EBEBEB}
-->
</style></head>

<body>
<table width=&qu

在我这里都是一样的.可能是显示器分辩率的问题. 好比如一个DOC文件,在你的机子上显示正常,在别的机子上格式没淮就变了一样. 只要语句是对的,就没有问题.不要去看设计中的东西,好好学一下CSS,这样只在代码里写几句,根本不用看设计,就知道自己页面什么样子了