DHTMLET? |
屬性清單?|?相關(guān)內(nèi)容:
|
font-size版本:CSS1 兼容性:IE4+ NS4+ 繼承性:有
?
語(yǔ)法:
?
font-size : absolute-size |
relative-size |
length
?
參數(shù):
?
absolute-size : 根據(jù)對(duì)象字體進(jìn)行調(diào)節(jié)。xx-small | x-small | small | medium | large | x-large | xx-large
relative-size : 相對(duì)于父對(duì)像中字體尺寸進(jìn)行相對(duì)調(diào)節(jié)。使用成比例的em單位計(jì)算。larger | smaller
length : 百分?jǐn)?shù) | 由浮點(diǎn)數(shù)字和單位標(biāo)識(shí)符組成的長(zhǎng)度值,不可為負(fù)值。其百分比取值是基于父對(duì)象中字體的尺寸。請(qǐng)參閱長(zhǎng)度單位
?
說(shuō)明:
?
設(shè)置或檢索對(duì)象中的字體尺寸。
默認(rèn)值為absolute-size的
medium值。
對(duì)應(yīng)的腳本特性為
fontSize。請(qǐng)參閱我編寫(xiě)的其他書(shū)目。
?
示例:
?
p { font-style: normal; }
p { font-size: 12px; }
p { font-size: 20%; }
?
?
?
蘇沈小雨制作·保留所有權(quán)利
©2001 rain1977.comer . All rights reserved . Terms of Use .