61,115
社区成员
发帖
与我相关
我的任务
分享
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title></title>
<%--<link rel="stylesheet" type="text/css" href="css/main.css">--%>
<style type="text/css">
.div1 {
background-color: lightseagreen;
width: 15%;
height: 100%;
float: left;
}
.div2 {
background-color: chocolate;
height: 100%;
float: left;
}
</style>
</head>
<body>
<div class="div1">
DIV1
</div>
<div class="div2">
DIV2
</div>
</body>
</html>
width: 85%;