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.
如果我将一个 h4 和 2 个 div 向左浮动,我将 1 个 div 向右浮动,如何在剩余空间内放置一个块并使其完美地填充剩余空间。笔记!剩余的空间需要有背景颜色,我不想让颜色扩散到这个空间之外
[h4][div][div][剩余空间][div]
谢谢,问候汤姆
如果我理解正确,我认为这行得通吗?
http://jsfiddle.net/eNDPG/3/