有效 height: calc(100% - 50px);
無效 height: calc(100% -50px);
calc(100%- 50px);
減號兩邊要有空格
有效 height: calc(100% - 50px);
無效 height: calc(100% -50px);
calc(100%- 50px);
減號兩邊要有空格
<style type=text/css>td { font-size: 12px; color: #000000; line-heig
絕對定位 + margin,讓明確寬高的盒子水平垂直居中於窗口 <!DOCTYPE> <html> <head> <meta charset="UTF-8"> <meta name="vie
二級導航實例 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <ti