下面这段简单的代码为什么没有绝对定位呢~?
<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<metahttp-equiv="Content-Type"content="text/html;charset=UTF-8">
</HEAD>
<BODY>
<imgid="img1"src="di-3.png"style="position:absolute;top:200;left:200"/>
</BODY>
</HTML>
根据我试验得到的结果就是,dtd声明下的html有严格的检查,top:200 必须写成top:200px 。。。呵呵








