positionの例 実践的な例では、positionはもう少し理にかなっているかもしれない。以下が本物っぽいページレイアウトだ。 .container { position: relative; } nav { position: absolute; left: 0px; width: 200px; } section { /* position is static by default */ margin-left: 200px; } footer { position: fixed; bottom: 0; left: 0; height: 70px; background-color: white; width: 100%; } body { margin-bottom: 120px; } <div class="container"> <section> navが配置されることが分