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