[内容简介]
著名的CSS专家Eric A.Meyer他招牌式的智慧和无与伦比的经验引领读者探索了CSS的各个部
分,包括属性、标记、特性和实现。此外,他还就现实应用中的一些问题,例如浏览器的支持和设计方针,发表了看法。你所要知道的就是HTML 4.0的知识,这样就可以创建整洁、易于维护的脚本,以与桌面出版系统同样的优雅和控制能力管理网站布局和分页。你将会学到:
精妙地设计文本风格
用户界面、表格布局、列表以及自动生成的内容
浮动和定位的细节
Font familv和Fallback机制
盒模型(box model)的工作机制
IE7、Firefox及其他一些浏览器所支持的最新CSS3的选择器(selector)
经过彻底地更新,新版的《CSS权威指南》已经适用于IE7。它详细讲述TESS的各个属性,告诉你怎样同其他属性交互,怎样在编写CSS时避免常见的错误。不管你是一个有经验的Web开发人员还是一个彻底的初学者,这本书都是你的CSS学习源泉。
[目次]
Preface
1. CSSand Documents
The Web's Fall from Grace
CSS to the Rescue
Elements
Bringing CSS and XHTML Together
2. Selectors
Basic Rules
Grouping
Class and ID Selectors
Attribute Selectors
Using Document Structure
Pseudo-Classes and Pseudo-Elements
3. Structure and the Cascade
Specificity
Inheritance
The Cascade
4. Values and Units
Numbers
Percentages
Color
Length Units
URLs
CSS2 Units
5. Fonts
Font Families
Font Weights
Font Size
Styles and Variants
Stretching and Adjusting Fonts
The font Property
Font Matching
6. Text Properties
Indentation and Horizontal Alignment
Vertical Alignment
Word Spacing and Letter Spacing
Text Transformation
Text Decoration
Text Shadows
7. Basic Visual Formatting
Basic Boxes
Block-Level Elements
Inline Elements
Altering Element Display
8. Padding, Borders, and Margins
Basic Element Boxes
Margins
Borders
Padding
9.Colors and Backgrounds
Colors
Foreground Colors
Backgrounds
10.Floating and Positioning
Floating
Positioning
11.Table Layout
12.Lists and Generated Content
13.User Interface Styles
14.Non-Screen Media
A.Property Reference
B.Selector,Pseudo-Calss,and Pseudo-Element Reference
C.Sample HTML 4 Style Sheet
Index