使用position:fixed定位的DIV元素,如何使其居中 .zxbm_xf{ position: fixed; z-index: 999; left: 0; top: 0; bottom: 0; right: 0; margin:auto; } 这样DIV元素就可以在页面居中显示了