When using grid 960, can I still have a 100% width header section?

前端 未结 5 1193
执念已碎
执念已碎 2021-01-26 14:53

I want to use a grid system, like say grid 960.

But I want the top header of the website to be 100%, is this still possible?

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-26 15:20

    The 960gs uses a container, or wrapper div with a set width of 960px to form the grid. If you want your header or footer to stretch the entire width of the page, then you should pull that area outside of the 960 px wrapper and give it a width of 100%.

提交回复
热议问题