Two divs, one fixed width, the other, the rest

前端 未结 10 1213
死守一世寂寞
死守一世寂寞 2020-11-27 11:28

I\'ve got two div containers.

Whilst one needs to be a specific width, I need to adjust it, so that, the other div takes up the rest of the space. Is there any way I

10条回答
  •  星月不相逢
    2020-11-27 12:13

    There are quite a few ways to accomplish, negative margins is one of my favorites:

    http://www.alistapart.com/articles/negativemargins/

    Good luck!

提交回复
热议问题