<html>
<head>
<title>无标题文档</title>
</head>
<body>
just for test!!
</body>
</html>
看看这么普通的代码,没什么错吧,放到DW里然后F12,页面什么也没有!当把页面编码调成utf-8就能看到了。太奇怪了。
什么时候这个字符集问题能一劳永逸的解决掉呢?25世纪?希望我能看到那天。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN">
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<STYLE>
BODY {
MARGIN-TOP: 0px;
FONT-SIZE: 12px
}
.tdline4 {
BORDER-RIGHT: #c6e0f1 1px solid;
BORDER-TOP: #c6e0f1 1px solid;
MARGIN-TOP: 10px;
BORDER-LEFT: #c6e0f1 1px solid;
BORDER-BOTTOM: #c6e0f1 1px solid
}
</STYLE>
</HEAD>
<BODY>
<TABLE cellSpacing="10" cellPadding="0" width="960" align="center" border="0">
<TBODY>
<TR>
<TD><TABLE cellSpacing="0" cellPadding="0" width="940" border="0">
<TBODY>
<TR>
<TD vAlign="top" width="236">
<TABLE class="tdline4" cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
<TBODY>
<TR>
<TD>
<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<TBODY>
<TR>
<TD><DIV>
<TABLE style="HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" border="1">
<FORM id="form2" name="form2" onSubmit="return tj2()" action="stn_register.php" method="post">
<TBODY>
<TR>
<TD align="center" colSpan="2" height="54"><IMG height="54" src="http://localhost/washcar/wash/run/stn3000/znche_30002_img/yy_bg.jpg" width="229" /></TD>
</TR>
<TR>
<TD align="right" background="znche_30002_img/yy_dl_bg.jpg" colSpan="2" height="30">您的姓名:
<INPUT style="MARGIN-RIGHT: 20px" size="17" name="name" value="" /></TD>
</TR>
<TR>
<TD align="right" background="znche_30002_img/yy_dl_bg.jpg" colSpan="2" height="30">您的手机:
<INPUT style="MARGIN-RIGHT: 20px" size="17" name="telnum" value="" /></TD>
</TR>
<TR>
<TD align="right" background="znche_30002_img/yy_dl_bg.jpg" colSpan="2" height="30">您的QQ号:
<INPUT style="MARGIN-RIGHT: 20px" size="17" name="qqnum" value="" /></TD>
</TR>
<TR>
<TD align="right" width="167" background="znche_30002_img/yy_dl_bg.jpg"><INPUT type="image" src="http://localhost/washcar/wash/run/stn3000/znche_30002_img/submit.jpg" name="imageField" value="" /></TD>
<TD width="65" background="znche_30002_img/yy_dl_bg.jpg"><IMG height="46" src="http://localhost/washcar/wash/run/stn3000/znche_30002_img/submit_left.jpg" width="65" /></TD>
</TR>
</TBODY>
</FORM>
</TABLE>
</DIV></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
如上,更奇怪,考虑到w3c标准是不该把form写在table内的。但是当写到外面的时候,火狐下还能如期的现实样式。IE下莫名多出一行空格。IE竟然给form这个看不见的东西也提供了默认的大小。
微软、火狐、google什么时候才能统一呢