討論串[問題] margin/置中/border/outline
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
margin 是根據上層容器的寬度來計算的. 所以如果是這樣. 瀏覽器寬 1000px. A外框 寬 = 800px. B內框 寬 = 500px (在A裡面). B設定 margin 18% 就是 800的18% = 144px;. 我看不懂你上下左右貼著是啥意思. 總之 border 跟 out
(還有495個字)
內容預覽:
div {. width:200px;. height:200px;. background-color:black;. position:fixed;. top:50%;. left:50%;. margin-top:-100px;. margin-left:-100px;. }. 我都是這樣寫螢
(還有160個字)
內容預覽:
想弄清楚如何將一個方塊放在整個螢幕約略中央的位置(ex: google search bar). 所以產生了很多混雜的問題 尋求版友能幫忙釐清我的盲點. 我的螢幕解析度為1920 x 1080. 程式. http://0rz.tw/S0GjN. 1.. 網路上找到 css 寫法 margin: 0
(還有1114個字)
首頁
上一頁
1
下一頁
尾頁