<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>new document</title>
<style type="text/css">
.wrap{
border:1px solid #006699; width:500px; overflow:hidden;
}
.wrap .left{
float:left; width:50%; background:#eee; padding-bottom:3000px; margin-bottom:-3000px;
}
.wrap .right{
float:right; width:50%; background:#f5f6fb; padding-bottom:3000px; margin-bottom:-3000px;
}
</style>
</head>
<body>
<div class="wrap">
<div class="left">
<p>内容</br></p><p>内容</br></p><p>内容</br></p><p>内容</br></p><p>内容</br></p><p>内容</br></p>
</div>
<div c
两个div高度自动对齐
最新推荐文章于 2023-09-26 15:12:16 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)