复制内容到剪贴板
代码:
<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Proj.PDC</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>
<frameset id="topframeset" rows="80,100%" cols="*" border="0" framespacing="0" frameborder="no">
<frame name="topframe" src="topFrame.htm" scrolling="no" border="0" framespacing="0" frameborder="no" noresize />
<frame name="downFrame" src="downFrame.htm" border="0" framespacing="0" frameborder="no" />
<noframes>
<body>
<h1>此网页使用了框架,但您的浏览器不支持框架。</h1>
</body>
</noframes>
</frameset>
</html>用a real validator校验结果
Results for D:\site\pdc\index.htm
Level of XHTML: XHTML 1.0 Frameset
Errors
D:\site\pdc\index.htm, Line 9, Character 58:
there is no attribute border for this element (in this HTML version)
D:\site\pdc\index.htm, Line 9, Character 75:
there is no attribute framespacing for this element (in this HTML version)
D:\site\pdc\index.htm, Line 9, Character 91:
there is no attribute frameborder for this element (in this HTML version)
D:\site\pdc\index.htm, Line 10, Character 65:
there is no attribute border for this element (in this HTML version)
D:\site\pdc\index.htm, Line 10, Character 82:
there is no attribute framespacing for this element (in this HTML version)
D:\site\pdc\index.htm, Line 10, Character 112:
the name and vi delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified
我如果把frameborder 和framespacing 属性去掉的话,框架会有个边出现,怎么解决啊?!