<html><head>
<style>
#container {border: 2px solid blue}
table{margin: 0 0 0 auto ; border: 2px solid red}
td{white-space: nowrap;}
#b {margin: 0 0 0 auto; width: 900px; border: 2px solid red;}
</style>

<body>
<div id=container>
	Resize the window. Red boxes below must not overflow the blue box (or window) from the 
	left side, though they may overflow from right.<br><br>
	<table>
		<tbody>
			<tr>
				<td>
				Blabla blah. Blabla blah. Blabla blah. Blabla blah. Blabla blah. Blabla blah.
				Blabla blah. Blabla blah. Blabla blah. Blabla blah. Blabla blah. Blabla blah.
				</td>
			</tr>
		</tbody>
	</table>
	
	<div id=b>
			Blabla blah. Blabla blah. Blabla blah. Blabla blah. Blabla blah. Blabla blah.
   </div>	
</div>   
</body>
</html>