画面の分割
画面を左右に分けて、左が幅 150px、右が残りすべてというようにする。
width: 150px
残り
HTML。
<div style="margin: 0 70px 0 70px; border: 1px solid tan; height: 200px; padding: 0;"> <div style="width: 150px; background-color: lightskyblue; height: 200px; margin: 0;">width: 150px</div> <div style="margin-left: 150px; background-color: greenyellow; height: 200px; position: relative; top: -200px;">残り</div> </div>
position: relative と top: -200px がキモ。