我想在同一行有两个项目,左边的项目用float: left
表示.
我一个人完成这件事没有问题.问题是,我希望同一行even when you resize the browser very small上的两个项目为stay.你知道的...就像桌子一样.
目标是防止右边的物品包裹no matter what个.
我如何告诉使用CSS的浏览器,我宁愿stretch the containing 100而不是包装它,使float: right;
div低于float: left;
div
?
我想要的是:
\
+---------------+ +------------------------/
| float: left; | | float: right; \
| | | /
| | |content stretching \ Screen Edge
| | |the div off the screen / <---
+---------------+ +------------------------\
/