DIV {行高:1.2;字體大小:10pt }
a. DIV { line-height: 1.2em; font-size: 10pt }
b. DIV { line-height: 12em; font-size: 10pt }
c. DIV { line-height: 120%; font-size: 10pt }
d. DIV { line-height: 20%; font-size: 10pt }
e. DIV { line-height: 80%; font-size: 10pt }
我認為a是正確的。
a. DIV { line-height: 1.2em; font-size: 10pt }
uj5u.com熱心網友回復:
我認為以下兩個是正確的。
a. DIV { line-height: 1.2em; font-size: 10pt }
c. DIV { line-height: 120%; font-size: 10pt }
uj5u.com熱心網友回復:
A 和 C 都是正確的,但最好避免使用 em,因為它們會產生意想不到的結果。
https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
uj5u.com熱心網友回復:
所以在這個問題中有兩個正確的答案,因為每種情況的字體大小都是相同的
a. DIV { line-height: 1.2em; font-size: 10pt }
c. DIV { line-height: 120%; font-size: 10pt }
你也可以在這里測驗
uj5u.com熱心網友回復:
A和C是正確的。具體細節請看here。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/454004.html
上一篇:將計時器添加到ejs檔案
下一篇:如何分隔堆疊在一起的div
