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