Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1024x768の画面では、画面の中央に2つのdivが並んでいます。ブラウザウィンドウのサイズを変更すると、2番目のdivが最初のdivの下に表示されます。これを防ぐにはどうすればよいですか。
http://oshirowanen.x10.mx/
1つの方法は、white-space: nowrap;スタイルをコンテナー<body>に追加し、white-space: normal;スタイルを2つに追加すること<div>です。
white-space: nowrap;
<body>
white-space: normal;
<div>