心理 css水平居中寫法 來源:魅力女性吧 1.6W juzhong { margin-right: auto margin-left: auto } 也就是把對象的左、右margin都設置為自動,它就會居中了 居中 css 寫法