我想在我的框架集上绘制 DIV 层。我听说 DIV 可以放在里面<frameset>
,但它对我不起作用。
以下示例不起作用。我什至没有在 Firebug HTML-inspector 中看到 DIV。
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Test of frameset with div</title>
<style type="text/css">
#flashContent {
position:fixed;
left:200px;
bottom:200px;
width:400px;
height:400px;
background-color:red;
z-order:1000;
}
</style>
</head>
<frameset rows="*,100px" style="z-order:10">
<frame src="content1.html">
<frame src="bottom.html">
<div id="flashContent">
Something
</div>
</frameset>
</html>