CSS范例:外层div0,内容redbox,让redbox水平垂直置中。 ... line-height:150px; text-align:center; } .redbox{ display:inline-block; width:30px; ...
確定! 回上一頁