Вот и со списком... Т.с. частный случай.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1251' />
<!--
<script src='http://code.jquery.com/jquery-latest.js'></script>
<script src="https://code.angularjs.org/1.3.9/angular.min.js"></script>
<script src="https://code.angularjs.org/1.3.9/angular-route.js"></script>
-->
<style type='text/css'>
* {
margin: 5px;
}
#container {
position: relative;
width: 330px;
overflow: hidden;
border: 1px solid;
}
#right {
position: absolute;
top: 0;
right: 0;
width: 100px;
height: 210px;
background-color: red;
}
ul {
margin: 0;
padding: 0;
overflow: hidden;
}
li {
float: left;
width: 100px;
height: 100px;
list-style-position: inside;
list-style-type: none;
background-color: green;
}
li:nth-child(3),
li:nth-child(5) {
clear: left;
}
</style>
<script type='text/javascript'>
</script>
</head>
<body>
<div id='container'>
<div id='right'></div>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</body>
</html>