HTML5不支持frameset标签,但是可以用iframeset+div进行代替
1.ex4-17.html:
<html>
<head>
<title>网上书店</title>
<style>
body
{
margin: 0;
padding: 0;
border: 5;
overflow: hidden;
height: 100%;
max-height: 100%;
}
#frameTop
{
position: absolute;
top: 0;
left: 0;
height: 100px;
width: 100%;
overflow: hidden;
vertical-align: middle;
}
#frameContentLeft
{
position: fixed;
top: 100px;
left: 0;
height: 100%;
width: 150px;
overflow: hidden;