青砖茶属于什么茶| r13是什么牌子| 胎儿头偏大是什么原因| 五月十四号是什么情人节| 洁癖是什么意思| 枕大池增大什么意思| 三七粉有什么作用| 阴蒂是什么| 猫的五行属什么| 真丝和桑蚕丝有什么区别| 香港车牌号是什么样子| 炭疽病用什么药| mlb是什么牌子中文名| 遗尿是什么症状| 汗腺是什么| 内分泌失调吃什么药好| 什么是甲醛| 什么时期最容易怀孕| 羊水少了对宝宝有什么影响| 上火流鼻血是什么原因| 大悲咒什么意思| 啷个是什么意思| 脸上出汗多是什么原因| 术后病人吃什么营养恢复快| 屁很多是什么原因造成的| 今年9岁属什么| 医院dr检查是什么| 人乳头瘤病毒39型阳性是什么意思| 喉咙肿大是什么原因| 石斛什么人不适合吃| 桃花的花语是什么| 牙疼是什么原因导致的| 人乳头瘤病毒hpv是什么意思| 红糖是什么做的| 舞美是什么| 尿结石是什么引起的| ur是什么缩写| flair呈高信号是什么意思| 皮脂腺痣是什么原因引起的| 小孩血糖高是什么原因引起的| 男性吃什么生精快| 梅五行属什么| 在家里做什么能赚钱| 保险凭证号是什么| 小孩智力发育迟缓挂什么科| 火龙果有什么好处| 口舌生疮吃什么药最好| 血小板为什么会减少| 喝醋对身体有什么好处| 爸爸过生日送什么礼物| 皇协军是什么意思| 艾灰有什么作用和功效| 蹭饭是什么意思| 月经突然提前一周是什么原因| 腰肌劳损什么症状| 假体是什么| 伤寒是什么意思| icu和ccu有什么区别| 女人吃维生素b有什么好处| 睾丸炎有什么症状| 女人梦见掉牙齿是什么征兆| 老舍原名什么| 喝红酒有什么好处| 小叶紫檀五行属什么| 神经肌电图检查什么| 金樱子配什么才壮阳| 舌头烧灼感是什么原因| 成人晚上磨牙是什么原因| 排长是什么军衔| 生理期为什么不能拔牙| 骄傲什么意思| 红艳艳的什么| 什么的窗户| mlb是什么牌子| iga肾病是什么意思| 舌系带短有什么影响| 南京有什么好吃的| 吃四方是什么生肖| 偶尔什么意思| metoo是什么意思| 头发掉的严重是什么原因| 为什么会得阴虱| 肝有问题会出现什么症状| 嘴唇上长疱疹用什么药| 商纣王姓什么| mic什么意思| 束带是什么| 诺帝卡是什么档次| 低血钾是什么原因引起的| 浪琴表属于什么档次| 别无他求是什么意思| 红男绿女是什么生肖| 为什么月经一次比一次提前| 喝豆腐脑有什么好处和坏处| 粉底液和bb霜有什么区别| 家里起火代表什么预兆| 什么的小学生| 迂回什么意思| 行是什么意思| 翻身是什么意思| 品牌背书是什么意思| 干什么挣钱最快| 为什么越吃越饿| 看胆囊挂什么科| 娘娘命是什么样的命| 叔叔老婆叫什么| 梦见别人拉屎是什么意思| 唇炎吃什么药| 19属什么| 发烧能吃什么水果| 梦见拉麦子是什么预兆| 方便是什么意思| 女性看乳房应该挂什么科| 干什么挣钱最快| 一什么明珠| 芝士是什么东西| 力不到不为财是什么意思| 板带是什么| jewelry什么意思| 健康查体是什么意思| 左卵巢囊性回声什么意思| 氩气是什么气体| 刻舟求剑的求是什么意思| 挖矿是什么| 女鼠配什么属相最好| 血稠是什么原因引起的| 榴莲为什么是苦的| 要强是什么意思| 胆固醇偏高吃什么好| 血糖高对身体有什么危害| 芒果有什么功效| 有缘无份什么意思| 家庭长期饮用什么水最好| 幼儿急疹是什么原因引起的| 网易是干什么的| 人参果不能和什么一起吃| 因果是什么意思| 鼻子下面长痘痘是什么原因引起的| 为什么叫五七干校| 振字五行属什么| 象牙塔比喻什么| george是什么牌子| rr过高是什么意思| 为什么会感染幽门螺旋杆菌| 什么原因引起血糖高| 釜底抽薪是什么计| 混血是什么意思| 姑息什么意思| 艾特是什么意思| 疱疹吃什么药好得快| 高瞻远瞩是什么生肖| 膀胱炎吃什么药| qa是什么| f什么意思| 男人耳后有痣代表什么| 黑猫进家门预示着什么| 四维空间是什么| 梦见买手表是什么预兆| 纸鸢是什么意思| 白血球高是什么原因| 面肌痉挛挂什么科| 外阴白斑用什么药| 蟑螂有什么危害| 黄芪补什么| 白带是什么东西| 鬼剃头是什么原因| 为什么乳头会变黑| 寓是什么意思| 忆字五行属什么| 皮重是什么意思| 如何知道自己是什么星座| 粉瘤不切除有什么危害| 胎神什么意思| 槟榔为什么那么贵| 什么人喜欢天天下雨| 发offer是什么意思| 慢慢张开你的眼睛是什么歌的歌词| 偷什么东西不犯法| 舌头生疮是什么原因引起的| 精索静脉曲张是什么| 把子肉是什么肉| 颠覆三观是什么意思| 性欲是什么| 德国什么东西值得买| 脍炙人口什么意思| 董卓字什么| 安全套是什么| 转归是什么意思| 单脱是什么意思| 水便分离的原因是什么| 屁股长痘痘用什么药膏| 舌头发红是什么原因| 肺部磨玻璃结节需要注意什么| 夫妻合葬有什么讲究| 高压和低压差值在什么范围正常| 湿热体质吃什么食物好| 山东有什么好吃的| 不以为然什么意思| 内秀是什么意思| 为什么会晕血| 为什么会长卵巢畸胎瘤| 畅字五行属什么| 情绪不稳定是什么原因| 西红柿什么时候成熟| tc版是什么意思| 三维彩超主要检查什么| 咖喱饭需要什么材料| 秘书是干什么的| 胃功能四项检查是什么| 皮肤过敏擦什么药膏好得快| 脑梗吃什么药效果最好| 闲鱼卖出的东西钱什么时候到账| 荨麻疹可以吃什么水果| 反清复明的组织叫什么| 耳鸣吃什么药效果最好| 斯字五行属什么| 胰子是什么意思| 关节外科主要看什么| 甲状腺低回声结节是什么意思| 问号是什么意思| 什么情况下需要打破伤风针| 颓废是什么意思| 什么是碱性食物有哪些| 窦性心律不齐是什么原因引起的| 献血前需要注意什么| 低血压吃什么补得最快| 梦见大火烧山是什么意思| 一个雨一个散念什么| 自豪的什么| 牙虫是什么样的图片| 朱砂是什么材质| 腺癌是什么癌| 右眼皮跳是什么预兆女| 尿量少是什么原因| 大肠杆菌是什么病| 颈椎病应该挂什么科| 医是什么结构| 什么地流淌| 塑形是什么意思| 冬天怕冷夏天怕热是什么体质| 三季人是什么意思| 虎配什么生肖最好| 水瓶座前面是什么星座| 黄体破裂是什么症状| pop什么意思| 牛油果有什么功效| 吃什么不容易怀孕| 西湖龙井属于什么茶| 脸上长痘痘去医院挂什么科| 咬牙齿是什么原因| 1月23号什么星座| 什么是梦| 调和油是什么油| 最好的假牙是什么材质| 肚脐眼下方是什么器官| 身份证x代表什么| 士多店是什么意思| 玉髓是什么玉| 挚爱适合用在什么人| 疣是一种什么病| 孕妇头疼是什么原因| 一什么十什么的成语| 为什么会莫名其妙流鼻血| pd990是什么金| 百度

方便游客 遂宁今年将新增加80座旅游厕所

百度 此次并购将使埃肯成为一家真正的国际化企业,业务及收入更多元,并在中国这一高速发展市场搭建重要增长平台。

Contents

Note: Several sections of this specification have been updated by other specifications. Please, see "Cascading Style Sheets (CSS) — The Official Definition" in the latest CSS Snapshot for a list of specifications and the sections they replace.

The CSS Working Group is also developing CSS level 2 revision 2 (CSS 2.2).

1.1 CSS 2.1 vs CSS 2

The CSS community has gained significant experience with the CSS2 specification since it became a recommendation in 1998. Errors in the CSS2 specification have subsequently been corrected via the publication of various errata, but there has not yet been an opportunity for the specification to be changed based on experience gained.

While many of these issues will be addressed by the upcoming CSS3 specifications, the current state of affairs hinders the implementation and interoperability of CSS2. The CSS 2.1 specification attempts to address this situation by:

Thus, while it is not the case that a CSS2 style sheet is necessarily forwards-compatible with CSS 2.1, it is the case that a style sheet restricting itself to CSS 2.1 features is more likely to find a compliant user agent today and to preserve forwards compatibility in the future. While breaking forward compatibility is not desirable, we believe the advantages to the revisions in CSS 2.1 are worthwhile.

CSS 2.1 is derived from and is intended to replace CSS2. Some parts of CSS2 are unchanged in CSS 2.1, some parts have been altered, and some parts removed. The removed portions may be used in a future CSS3 specification. Future specs should refer to CSS 2.1 (unless they need features from CSS2 which have been dropped in CSS 2.1, and then they should only reference CSS2 for those features, or preferably reference such feature(s) in the respective CSS3 Module that includes those feature(s)).

1.2 Reading the specification

This section is non-normative.

This specification has been written with two types of readers in mind: CSS authors and CSS implementors. We hope the specification will provide authors with the tools they need to write efficient, attractive, and accessible documents, without overexposing them to CSS's implementation details. Implementors, however, should find all they need to build conforming user agents. The specification begins with a general presentation of CSS and becomes more and more technical and specific towards the end. For quick access to information, a general table of contents, specific tables of contents at the beginning of each section, and an index provide easy navigation, in both the electronic and printed versions.

The specification has been written with two modes of presentation in mind: electronic and printed. Although the two presentations will no doubt be similar, readers will find some differences. For example, links will not work in the printed version (obviously), and page numbers will not appear in the electronic version. In case of a discrepancy, the electronic version is considered the authoritative version of the document.

1.3 How the specification is organized

This section is non-normative.

The specification is organized into the following sections:

Section 2: An introduction to CSS 2.1
The introduction includes a brief tutorial on CSS 2.1 and a discussion of design principles behind CSS 2.1.
Sections 3 - 18: CSS 2.1 reference manual.
The bulk of the reference manual consists of the CSS 2.1 language reference. This reference defines what may go into a CSS 2.1 style sheet (syntax, properties, property values) and how user agents must interpret these style sheets in order to claim conformance.
Appendixes:
Appendixes contain information about aural properties (non-normative), a sample style sheet for HTML 4, changes from CSS2, the grammar of CSS 2.1, a list of normative and informative references, and two indexes: one for properties and one general index.

1.4 Conventions

1.4.1 Document language elements and attributes

1.4.2 CSS property definitions

Each CSS property definition begins with a summary of key information that resembles the following:

'property-name'
Value:  legal values & syntax
Initial:  initial value
Applies to:  elements this property applies to
Inherited:  whether the property is inherited
Percentages:  how percentage values are interpreted
Media:  which media groups the property applies to
Computed value:  how to compute the computed value

1.4.2.1 Value

This part specifies the set of valid values for the property whose name is 'property-name'. A property value can have one or more components. Component value types are designated in several ways:

  1. keyword values (e.g., auto, disc, etc.)
  2. basic data types, which appear between "<" and ">" (e.g., <length>, <percentage>, etc.). In the electronic version of the document, each instance of a basic data type links to its definition.
  3. types that have the same range of values as a property bearing the same name (e.g., <'border-width'> <'background-attachment'>, etc.). In this case, the type name is the property name (complete with quotes) between "<" and ">" (e.g., <'border-width'>). Such a type does not include the value 'inherit'. In the electronic version of the document, each instance of this type of non-terminal links to the corresponding property definition.
  4. non-terminals that do not share the same name as a property. In this case, the non-terminal name appears between "<" and ">", as in <border-width>. Notice the distinction between <border-width> and <'border-width'>; the latter is defined in terms of the former. The definition of a non-terminal is located near its first appearance in the specification. In the electronic version of the document, each instance of this type of value links to the corresponding value definition.

Other words in these definitions are keywords that must appear literally, without quotes (e.g., red). The slash (/) and the comma (,) must also appear literally.

Component values may be arranged into property values as follows:

Juxtaposition is stronger than the double ampersand, the double ampersand is stronger than the double bar, and the double bar is stronger than the bar. Thus, the following lines are equivalent:

    a b   |   c ||   d &&   e f
  [ a b ] | [ c || [ d && [ e f ]]]

Every type, keyword, or bracketed group may be followed by one of the following modifiers:

The following examples illustrate different value types:

Value: N | NW | NE
Value: [ <length> | thick | thin ]{1,4}
Value: [<family-name> , ]* <family-name>
Value: <uri>? <color> [ / <color> ]?
Value: <uri> || <color>
Value: inset? && [ <length>{2,4} && <color>? ]

Component values are specified in terms of tokens, as described in Appendix G.2. As the grammar allows spaces between tokens in the components of the expr production, spaces may appear between tokens in property values.

Note: In many cases, spaces will in fact be required between tokens in order to distinguish them from each other. For example, the value '1em2em' would be parsed as a single DIMEN token with the number '1' and the identifier 'em2em', which is an invalid unit. In this case, a space would be required before the '2' to get this parsed as the two lengths '1em' and '2em'.

1.4.2.2 Initial

This part specifies the property's initial value. Please consult the section on the cascade for information about the interaction between style sheet-specified, inherited, and initial property values.

1.4.2.3 Applies to

This part lists the elements to which the property applies. All elements are considered to have all properties, but some properties have no rendering effect on some types of elements. For example, the 'clear' property only affects block-level elements.

1.4.2.4 Inherited

This part indicates whether the value of the property is inherited from an ancestor element. Please consult the section on the cascade for information about the interaction between style sheet-specified, inherited, and initial property values.

1.4.2.5 Percentage values

This part indicates how percentages should be interpreted, if they occur in the value of the property. If "N/A" appears here, it means that the property does not accept percentages in its values.

1.4.2.6 Media groups

This part indicates the media groups to which the property applies. Information about media groups is non-normative.

1.4.2.7 Computed value

This part describes the computed value for the property. See the section on computed values for how this definition is used.

1.4.3 Shorthand properties

Some properties are shorthand properties, meaning that they allow authors to specify the values of several properties with a single property.

For instance, the 'font' property is a shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family' all at once.

When values are omitted from a shorthand form, each "missing" property is assigned its initial value (see the section on the cascade).

Example(s):

The multiple style rules of this example:

h1 { 
  font-weight: bold; 
  font-size: 12pt;
  line-height: 14pt; 
  font-family: Helvetica; 
  font-variant: normal;
  font-style: normal;
}

may be rewritten with a single shorthand property:

h1 { font: bold 12pt/14pt Helvetica }

In this example, 'font-variant', and 'font-style' take their initial values.

1.4.4 Notes and examples

All examples that illustrate illegal usage are clearly marked as "ILLEGAL EXAMPLE".

HTML examples lacking DOCTYPE declarations are SGML Text Entities conforming to the HTML 4.01 Strict DTD [HTML4]. Other HTML examples conform to the DTDs given in the examples.

All notes are informative only.

Examples and notes are marked within the source HTML for the specification and CSS user agents will render them specially.

1.4.5 Images and long descriptions

Most images in the electronic version of this specification are accompanied by "long descriptions" of what they represent. A link to the long description is denoted by a "[D]" after the image.

Images and long descriptions are informative only.

1.5 Acknowledgments

This section is non-normative.

CSS 2.1 is based on CSS2. See the acknowledgments section of CSS2 for the people that contributed to CSS2.

We would like to thank the following people who, through their input and feedback on the www-style mailing list, have helped us with the creation of this specification: Andrew Clover, Bernd Mielke, C. Bottelier, Christian Roth, Christoph Päper, Claus Färber, Coises, Craig Saila, Darren Ferguson, Dylan Schiemann, Etan Wexler, George Lund, James Craig, Jan Eirik Olufsen, Jan Roland Eriksson, Joris Huizer, Joshua Prowse, Kai Lahmann, Kevin Smith, Lachlan Cannon, Lars Knoll, Lauri Raittila, Mark Gallagher, Michael Day, Peter Sheerin, Rijk van Geijtenbeek, Robin Berjon, Scott Montgomery, Shelby Moore, Stuart Ballard, Tom Gilder, Vadim Plessky, Peter Moulder, Anton Prowse, G閞ard Talbot, Ingo Chao, Bruno Fassino, Justin Rogers, Boris Zbarsky, Garrett Smith, Zack Weinberg, Bjoern Hoehrmann, and the Open eBook Publication Structure Working Group Editors. We would also like to thank Gary Schnabl, Glenn Adams and Susan Lesch who helped proofread earlier versions of this document.

In addition, we would like to extend special thanks to Elika J. Etemad, Ada Chan and Boris Zbarsky who have contributed significant time to CSS 2.1, and to Kimberly Blessing for help with the editing.

Many thanks also to the following people for their help with the test suite: Robert Stam, Aharon Lanin, Alan Gresley, Alan Harder, Alexander Dawson, Arron Eicholz, Bernd Mielke, Bert Bos, Boris Zbarsky, Bruno Fassino, Daniel Schattenkirchner, David Hammond, David Hyatt, Eira Monstad, Elika J. Etemad, G閞ard Talbot, Gabriele Romanato, Germain Garand, Hilbrand Edskes, Ian Hickson, James Hopkins, Justin Boss, L. David Baron, Lachlan Hunt, Magne Andersson, Marc Pacheco, Mark McKenzie-Bell, Matt Bradley, Melinda Grant, Michael Turnwall, Ray Kiddy, Richard Ishida, Robert O'Callahan, Simon Montagu, Tom Clancy, Vasil Dinkov, … and all the contributors to the CSS1 test suite.

Working Group members active during the development of this specification: C閟ar Acebal (Universidad de Oviedo), Tab Atkins Jr. (Google, Inc.), L. David Baron (Mozilla Foundation), Bert Bos (W3C/ERCIM), Tantek 莈lik (W3C Invited Experts), Cathy Chan (Nokia), Giorgi Chavchanidze (Opera Software), John Daggett (Mozilla Foundation), Beth Dakin (Apple, Inc.), Arron Eicholz (Microsoft Corp.), Elika J. Etemad (W3C Invited Experts), Simon Fraser (Apple, Inc.), Sylvain Galineau (Microsoft Corp.), Daniel Glazman (Disruptive Innovations), Molly Holzschlag (Opera Software), David Hyatt (Apple, Inc.), Richard Ishida (W3C/ERCIM), John Jansen (Microsoft Corp.), Brad Kemper (W3C Invited Experts), H錵on Wium Lie (Opera Software), Chris Lilley (W3C/ERCIM), Peter Linss (HP), Markus Mielke (Microsoft Corp.), Alex Mogilevsky (Microsoft Corp.), David Singer (Apple Inc.), Anne van Kesteren (Opera Software), Steve Zilles (Adobe Systems Inc.), Ian Hickson (Google, Inc.), Melinda Grant (HP), 貀vind Stenhaug (Opera Software), and Paul Nelson (Microsoft Corp.).

脚背发麻是什么原因引起的 湿疹是什么意思 中暑是什么感觉 小孩头发黄是什么原因 烧心是什么原因引起的
热血病是什么病 铁马是什么 9.3号是什么星座 大义灭亲是什么意思 昏天黑地什么意思
逍遥丸是治什么的 mri是什么 法香是什么菜 农历十月初八是什么星座 脚上长痣代表什么
什么是命中注定 吃杏子有什么好处 hm是什么品牌 精满自溢是什么意思 什么是妇科病
三七粉什么人不适合吃hcv9jop3ns6r.cn 口炎念什么hcv8jop9ns1r.cn 94年属什么hcv9jop0ns3r.cn 中药和中成药有什么区别hcv9jop2ns7r.cn 得意门生是什么意思hcv9jop1ns7r.cn
全距是什么意思ff14chat.com 回盲瓣呈唇形什么意思hcv8jop3ns9r.cn 省管干部是什么级别hcv7jop9ns6r.cn fnc是什么意思hcv9jop1ns2r.cn 为道日损什么意思hcv8jop8ns7r.cn
星星为什么眨眼睛hcv8jop9ns2r.cn 荔枝不能与什么一起吃hcv8jop9ns4r.cn 木木耳朵旁是什么字hcv8jop5ns8r.cn 春茶是什么茶youbangsi.com 大熊猫是什么科hcv9jop8ns3r.cn
手掌发麻是什么原因hcv9jop7ns0r.cn 中暑吃什么水果hcv8jop4ns0r.cn 伯恩光学是做什么的wzqsfys.com 党参和丹参有什么区别hcv7jop4ns6r.cn 严什么的作风hcv9jop6ns5r.cn
百度