曝光台 注意防骗
网曝天猫店富美金盛家居专营店坑蒙拐骗欺诈消费者
注意:f l o a t将删除行中内嵌的和生成的内容
元素之外的所有元素
c l e a r block | inline | n o n e 块元素否
list-item | none
z - i n d e x auto | <integer> a u t o 定位元素否
d i r e c t i o n ltr | rtl l t r 所有元素是
l t r:从左到右
r t l:从右到左
u n i c o d e - b i d i normal | embed | n o r m a l 所有元素否
b i d i - o v e r r i d e
F.3 可视化格式模型细节
这部分也是C S S 2新增的,C S S 2规范的第1 0节定义了这些属性。
表F - 3
属性名可选值初始值应用于继承
w i d t h <length> | a u t o 除了不可置换否
<percentage> | auto 的内嵌元素、
< p e r c e n t a g e >是相对于父元素表格列和列组
的宽度之外的所有元素
m i n - <length> | 取决于除了不可置换否
w i d t h < p e r c e n t a g e > 用户代理的内嵌元素和
表格元素之外
的所有元素
m a x - <length> | n o n e 除了不可置换否
w i d t h <percentage> | none 的内嵌元素和
表格元素之外
的所有元素
h e i g h t <length> | <percentage> a u t o 除了不可置换否
| auto 的内嵌元素、
表格行和行组
之外的所有元素
附录F CSS属性使用931 下载
(续)
属性名可选值初始值应用于继承
m i n - <length> | <percentage> 0 除了不可置换否
h e i g h t 的内嵌元素和
表格元素之外
的所有元素
m a x - <length> | <percentage> n o n e 除了不可置换否
h e i g h t | none 的内嵌元素和
表格元素之外
的所有元素
l i n e - normal | <number> | n o r m a l 所有元素是
h e i g h t <length> | <percentage>
< n u m b e r >: -
line-height = font-size * num
< p e r c e n t a g e >是相对于
f o n t - s i z e的
v e r t i c a l - baseline | sub | super b a s e l i n e 内嵌元素和否
a l i g n | top | text-top | 表格的单元格
middle | bottom | text- 元素
bottom | <percentage> |
< l e n g t h >
< p e r c e n t a g e >是相对于元素的
l i n e - h e i g h t属性的
F.4 可视化效果
这是C S S 2新增的一类属性。C S S 2规范的第11节定义了这些属性。
表F - 4
属性名可选值初始值应用于继承
o v e r f l o w visible | hidden | scroll v i s i b l e 块级元素和否
| auto 可置换元素
c l i p <shape> | auto a u t o 块级元素和否
可置换元素
v i s i b i l i t y visible | hidden | i n h e r i t 所有元素否
collapse | inherit
F.5 生成的内容、自动编号和列表
这也是C S S 2新增的一类属性, C S S 2规范的第1 2节定义了这些属性。在C S S 2中,可以通过
以下几种方式生成内容:
932使用XML 高级编程
下载
• 将c o n t e n t属性和: b e f o r e或: a f t e r伪元素一起使用。
• 将c u e - b e f o r e和c u e - a f t e r听觉属性一起使用。
• display属性的值为l i s t - i t e m的元素。
生成的内容的样式和位置是由: b e f o r e和: a f t e r伪元素指定的。它们与用于指定所插入内容的
c o n t e n t属性配合使用。毫无疑问, : b e f o r e和: a f t e r用于指定将内容插在元素的文档树内容之前还
是之后。要想了解更详细的内容,参见C S S 2规范(第1 2节)。
表F - 5
属性名可选值初始值应用于继承
c o n t e n t [ <string> | <uri> | 空字符串: b e f o r e和否
<counter> | attr(X) | : a f t e r伪元素
open-quote | close-quote
| no-open-quote |
no-close-quote ]+
q u o t e s [<string> <string>]+ | none 取决于所有元素是
用户代理
c o u n t e r- [<identifier> <integer>? ]+ n o n e 所有元素否
r e s e t | none
c o u n t e r- [<identifier> <integer>? ]+ n o n e 所有元素否
i n c r e m e n t | none
m a r k e r- <length> | auto a u t o d i s p l a y属性否
o ff s e t 设置为m a r k e r
的元素
l i s t - disc | circle | square | d i s c d i s p l a y属性是
s t y l e - decimal | decimal-leading-zero 设置为l i s t -
t y p e | lower-roman | upper-roman | i t e m的元素
l o w e r-greek | lower-alpha |
u p p e r-alpha | none | lowerlatin
| upper-latin | hebrew |
armenian | georgian | cjkideographic
| hiragana |
katakana | hiragana-iroha |
k a t a k a n a - i r o h a
l i s t - <uri> | none n o n e 列表项是
s t y l e -
i m a g e
l i s t - inside | outside o u t s i d e 列表项是
s t y l e -
p o s i t i o n
F.6 分页的介质
以下分页介质的属性都是C S S 2新增的,C S S 2规范的第1 3节定义了这些属性。
附录F CSS属性使用933 下载
表F - 6
属性名可选值初始值应用于继承
l i s t - s t y l e <list-sytle-type> || 未定义列表项是
<list-style-position> ||
< l i s t - s t y l e - i m a g e >
s i z e <length>{1,2} | auto | a u t o 页上下文N / A
protrait | landscape
m a r k s(公司[ crop || cross ] | none n o n e 页上下文N / A
标志)
p a g e - b r e a k - auto | always | avoid | a u t o 块级元素否
中国航空网 www.aero.cn
航空翻译 www.aviation.cn
本文链接地址:
XML高级编程下(129)