3divを揃えたい。そのうちの 2 つは固定幅で、右側の 1 つは自動幅で右側の空きスペースを埋めます。
ヒントはありますか?
これが私の例です:
<div id="container" style="width:100%; background-color:Red;">
<div id="left" style="width:100px; height:400px; background-color: yellow; float:left; display:inline-block">
</div>
<div id="center" style="width:600px; height:400px; background-color: blue; float:none; display:inline-block">
</div>
<div class="right" style=" height:400px; width:auto;background-color: green; float:right; display:inline-block">
</div>
</div>