左侧固定大小,右侧铺满的最不靠谱的做法
- 作者: 呦吼5957297
- 来源: 51数据库
- 2022-08-15
<html>
<head>
<title>简易小说</title>
<link rel="stylesheet" type="text/css" href="reset.css">
<style type="text/css" media="screen">
#frame1{
height: 100%;
width: 200px;
position: absolute;
top: 0;
left: 0px;
background-color: #0f0;
}
#frame2{
height: 100%;
width: 200px;
position: absolute;
top: 0;
left: 200px;
background-color: #f00;
}
#frame3{
height: 100%;
background-color: #099;
margin-left: 400px;
}
</style>
</head>
<body>
<div id="frame1"></div>
<div id="frame2"></div>
<div id="frame3"></div>
</body>
</html>
推荐阅读
