Why doesn't vertical-align:middle; work either? .black { position:absolute; top:0; bottom:0 ... ... <看更多>
Search
Search
Why doesn't vertical-align:middle; work either? .black { position:absolute; top:0; bottom:0 ... ... <看更多>
auto : The browser calculates a bottom margin dependent on the space available; inherit: Inherits the parent element's specified margin-bottom width. ... <看更多>
margin :auto;. } #wrapper{. width:960px;. margin:auto;. } body {. background: #FFFFFF;. color:#000000;. font-family:Georgia, sans-serif;. line-height:21px;. ... <看更多>
如果物件可以使用 margin: 0 auto; 居中,如果它們是塊元素並且具有定義的 ... containerDiv { width: 100%; height: 100px; padding-bottom: 40px; } ... ... <看更多>