親要素の width を 900px 以上にする。
[div width="900px" [div width="300px"][div width="300px"][div width="300px"] ]
<nobr> で括る。
<style> .item { display: inline-block; width: 300px; } </style> <nobr> <div class="item">1</div> <div class="item">2</div> <div class="item">3</div> </nobr>
CSS の display: inline を使います。
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style type="text/css"> div.hoge { display: inline; } </style> </head> <body> <div class="hoge">1</div> <div class="hoge">2</div> <div class="hoge">3</div> </body> </html>