• 热门标签

当前位置: 主页 > 航空资料 > 计算机 >

时间:2010-08-09 13:16来源:蓝天飞行翻译 作者:admin
曝光台 注意防骗 网曝天猫店富美金盛家居专营店坑蒙拐骗欺诈消费者

b e f o r e left | right
p a g e - b r e a k - auto | always | avoid | a u t o 块级元素否
a f t e r left | right
p a g e - b r e a k - avoid | auto a u t o 块级元素是
i n s i d e
p a g e(用于<identifier> | auto a u t o 块级元素是
命名页)
o r p h a n s < i n t e g e r > 2 块级元素是
w i d o w s < i n t e g e r > 2 块级元素是
F.7 颜色和背景
C S S 2规范的第1 4节定义了以下属性(它们与C S S 1中的完全相同)。
表F - 7
属性名可选值初始值应用于继承
c o l o r keyword | numerical RGB 取决于所有元素是
s p e c i f i c a t i o n 用户代理
b a c k g r o u n d - <color> | transparent t r a n s p a r e n t 所有元素否
c o l o r
b a c k g r o u n d - <uri> | none n o n e 所有元素否
i m a g e
b a c k g r o u n d - repeat | repeat-x | r e p e a t 所有元素否
r e p e a t repeat-y | no-repeat
b a c k g r o u n d - scroll | fixed s c r o l l 所有元素否
a t t a c h m e n t
b a c k g r o u n d - [[<length> | 0 %,0 % 块和可置换否
p o s i t i o n <percentage>]{1,2} | 元素
[[top | center | bottom] ||
[left | center | right]]]
b a c k g r o u n d [<background-color> || 未定义所有元素否
<background-image> ||
<background-repeat> ||
<background-attachment> ||
< b a c k g r o u n d - p o s i t i o n > ]
934使用XML 高级编程
下载
F.8 字体属性
C S S 2规范的第1 5节定义了以下属性,它们与C S S 1中的完全相同。
表F - 8
属性名可选值初始值应用于继承
f o n t - f a m i l y [[<family-name> | 取决于所有元素是
<generic-family> ],]* 用户代理
[<family-name> | <genericf
a m i l y > ]
使用任何字体族名称
< g e n e r i c - f a m i l y >可以是以下值:
s e r i f
s a n s - s e r i f
c u r s i v e
f a n t a s y
m o n o s p a c e
f o n t - s t y l e normal | italic | oblique n o r m a l 所有元素是
f o n t - v a r i a n t normal | smallcaps n o r m a l 所有元素是
f o n t - w e i g h t normal | bold | bolder | n o r m a l 所有元素是
lighter | 100 | 200 | 300 | 400
| 500 | 600 | 700 | 800 | 900
f o n t - s t r e t c h normal | wider | narrower | n o r m a l 所有元素是
ultra-condensed | extracondensed
| condensed | semicondensed
| semi-expanded |
expaded | extra-expanded |
u l t r a - e x p a n d e d
f o n t - s i z e <absolute-size> | <relative- m e d i u m 所有元素是
size> | <length> | <percentage>
< a b s o l u t e - s i z e >:
xx-small | x-small | small |
medium | large | x-large |
x x - l a rg e
< r e l a t i v e - s i z e >:
l a rger | smaller
< p e r c e n t a g e >:
相对于父元素
f o n t - s i z e - <number> | none n o n e 所有元素是
a d j u s t
f o n t [[font-style>||<font-variant> || 未定义所有元素是
<font-weight>]? <font-size>
[/<line-height>]? <font-family>] |
caption | icon | menu | messagebox
| small-caption | status-bar
附录F CSS属性使用935 下载
F.9 文本属性
C S S 2规范的第1 6节定义了文本属性。
表F - 9
属性名可选值初始值应用于继承
t e x t - i n d e n t <length> | <percentage> 0 块元素是
t e x t - a l i g n left | right | center | 取决于块元素是
justify | <string> 用户代理
和书写方向
t e x t - none| [underline || overline || n o n e 所有元素否
d e c o r a t i o n line-through || blink]
t e x t - s h a d o w none | [<color> || <length> n o n e 所有元素否
<length> <length>? ,]*[<color>
|| <length> <length> <length>?]
l e t t e r- normal | <length> n o r m a l 所有元素是
s p a c i n g
w o r d - normal | <length> n o r m a l 所有元素是
s p a c i n g
t e x t - none | capitalize | n o n e 所有元素是
t r a n s f o r m uppercase | owercase
w h i t e - s p a c e normal | pre | nowrap n o r m a l 块元素是
F.10 表格
C S S 2规范的第1 7节定义了表格的属性,它们都是C S S 2中新增的。
表F - 1 0
属性名可选值初始值应用于继承
c a p t i o n - top | bottom | t o p 表头元素是
s i d e left | right
b o r d e r- collapse | c o l l a p s e 表格和内嵌表元素是
c o l l a p s e s e p a r a t e
b o r d e r- < l e n g t h > 0 表格和内嵌表元素是
s p a c i n g
t a b l e - l a y o u t fixed | auto a u t o 表格和内嵌表元素否
e m p t y - c e l l s show | hide s h o w 表格的单元格元素是
s p e a k - h e a d e r once | always o n c e 有头信息的元素是
F.11 用户界面
C S S 2规范的第1 8节定义了用户界面的属性,它们都是C S S 2中新增的。
936使用XML 高级编程
下载
表F - 11
 
中国航空网 www.aero.cn
航空翻译 www.aviation.cn
本文链接地址:XML高级编程下(130)