更新:我奖励 50 赏金给任何可以帮助我实现这个设计的人。
所以我在过去的 2-3 个小时里一直在尝试解决这个问题,但似乎无法做到。也许有 CSS 或 jquery 经验的人可以帮助我。我正在努力做到这一点。这是我的结果。问题是,当我调整浏览器窗口的大小时,B 列的内容被截断,并且 A 列左侧有一个额外的空白。这是我想要节省时间的屏幕截图。
CSS:
#public {
width:100%;
}
#public #container {
position:absolute;
width:100%;
height:100%;
left:0;
top:0;
min-width:1050px;
}
#public .left {
float:left;
width:40%;
height:100%;
background-color:#fff;
}
#public .left .content {
float:right;
width:365px;
margin-top:20px;
text-align:center;
}
#public .left .platforms {
margin-top:40px;
}
#public .left .aila {
display:block;
margin-top:25px;
}
#public .left .copy {
margin-top:20px;
color:#171515;
font:bold 12px Arial, Verdana;
}
#public .right {
float:right;
width:60%;
height:100%;
overflow:hidden;
}
#public .right .content {
float:left;
width:665px;
min-height:704px;
margin-top:20px;
background:url(images/public-right-shadow.png) no-repeat left top;
}
HTML:
<div id="public">
<div id="container">
<div class="left">
<div class="content">
<img src="images/logo2.png" alt="" class="logo" />
<img src="images/supported-platforms.png" class="platforms" />
<div class="copy">© all right reserved 2012</div>
</div>
</div><!--.left-->
<div class="right">
<div class="content">
Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here. Right column here.
</div>
</div><!--.right-->
</div><!--#container-->
</div><!--#public-->