CSS The Missing Manual(影印版)
CSS The Missing Manual(影印版)
David Sawyer McFarLand
出版时间:2007年07月
页数:476
CSS: The Missing Manual
我太爱这本《CSS:The Missing Manual》了,它就是我一直在寻找的讲述清晰、信息量丰富的CSS书籍。我尤其欣赏书中给出的所有充满智慧的CSS技巧。
——Leo Laporte, TV/radio host/podcaster, This Week in Tech
层叠样式表(CSS)能让你内心的设计思想迸发出来并得以实现。不过,将CSS与网站底层的HTML页面进行整合是一件非常困难的工作,有时甚至复杂得令人沮丧——这导致多数Web设计者不得不放弃一些奇思妙想。《CSS: The Missing Manual》可以消除Web设计工作的痛苦,并且带给你:
HTML重新入门。如果你是HTML新手,你会学到如何以CSS友好的方式进行基本页面构建;若你是HTML高手,你将学会如何像CSS设计者那样思考。
鲜活实例。100多页颇具实用价值的教程帮助你循序渐进地学习。你马上就可以实践所学到的概念。
设计导引。超越CSS基础并发掘专业人员最为实用和最具视觉冲击力的页面布局技巧。
真实世界的CSS。本书向你展示如何调试你的CSS,使它在任何浏览器上都表现得很好——包括Internet Explorer 7。
本书荣获2007年第十七届Jolt技术类图书效能大奖。
  1. The Missing Credits
  2. Introduction
  3. Part One: CSS Basics
  4. Chapter 1: Rethinking HTML for CSS
  5. HTML: Past and Present
  6. HTML Past: Whatever Looked Good
  7. HTML Present: Scaffolding for CSS
  8. Writing HTML for CSS
  9. Think Structure
  10. Two New HTML Tags to Learn
  11. HTML to Forget
  12. Tips to Guide Your Way
  13. The Importance of the Doctype
  14. Chapter 2: Creating Styles and Style Sheets
  15. Anatomy of a Style
  16. Understanding Style Sheets
  17. Internal or External—How to Choose
  18. Internal Style Sheets
  19. External Style Sheets
  20. Linking a Style Sheet Using HTML
  21. Linking a Style Sheet Using CSS
  22. Tutorial: Creating Your First Styles
  23. Creating an Inline Style
  24. Creating an Internal Style Sheet
  25. Creating an External Style Sheet
  26. Chapter 3: Selector Basics: Identifying What to Style
  27. Tag Selectors: Page-Wide Styling
  28. Class Selectors: Pinpoint Control
  29. ID Selectors: Specific Page Elements
  30. Styling Tags Within Tags
  31. The HTML Family Tree
  32. Building Descendent Selectors
  33. Styling Groups of Tags
  34. Constructing Group Selectors
  35. The Universal Selector (Asterisk)
  36. Pseudo-Classes and Pseudo-Elements
  37. Styles for Links
  38. More Pseudo-Classes and -Elements
  39. Advanced Selectors
  40. Child Selectors
  41. Adjacent Siblings
  42. Attribute Selectors
  43. Tutorial: Selector Sampler
  44. Creating a Group Selector
  45. Creating and Applying a Class Selector
  46. Creating and Applying an ID Selector
  47. Creating a Descendent Selector
  48. Chapter 4: Saving Time with Inheritance
  49. What Is Inheritance?
  50. How Inheritance Streamlines Style Sheets
  51. The Limits of Inheritance
  52. Tutorial: Inheritance
  53. A Basic Example: One Level of Inheritance
  54. Using Inheritance to Restyle an Entire Page
  55. Inheritance Inaction
  56. Chapter 5: Managing Multiple Styles: The Cascade
  57. How Styles Cascade
  58. Inherited Styles Accumulate
  59. Nearest Ancestor Wins
  60. The Directly Applied Style Wins
  61. One Tag, Many Styles
  62. Specificity: Which Style Wins
  63. The Tiebreaker: Last Style Wins
  64. Controlling the Cascade
  65. Changing the Specificity
  66. Selective Overriding
  67. Tutorial: The Cascade in Action
  68. Creating a Hybrid Style
  69. Combining Cascading and Inheritance
  70. Overcoming Conflicts
  71. Part Two: Applied CSS
  72. Chapter 6: Formatting Text
  73. Formatting Text
  74. Choosing a Font
  75. Adding Color to Text
  76. Changing Font Size
  77. Using Pixels
  78. Using Keywords, Percentages, and Ems
  79. Formatting Words and Letters
  80. Italicizing and Bolding
  81. Capitalizing
  82. Decorating
  83. Letter and Word Spacing
  84. Formatting Entire Paragraphs
  85. Adjusting the Space Between Lines
  86. Aligning Text
  87. Indenting the First Line and Removing Margins
  88. Formatting the First Letter or First Line of a Paragraph
  89. Styling Lists
  90. Types of Lists
  91. Positioning Bullets and Numbers
  92. Graphic Bullets
  93. Tutorial: Text Formatting in Action
  94. Setting Up the Page
  95. Formatting the Headings and Paragraphs
  96. Formatting Lists
  97. Adding the Finishing Touches
  98. Chapter 7: Margins, Padding, and Borders
  99. Understanding the Box Model
  100. Control Space with Margins and Padding
  101. Margin and Padding Shorthand
  102. Colliding Margins
  103. Removing Space with Negative Margins
  104. Displaying Inline and Block-Level Boxes
  105. Adding Borders
  106. Border Property Shorthand
  107. Formatting Individual Borders
  108. Coloring the Background
  109. Determining Height and Width
  110. Calculating a Box’s Actual Width and Height
  111. Controlling the Tap with the Overflow Property
  112. Fixing IE 5’s Broken Box Model
  113. Wrap Content with Floating Elements
  114. Backgrounds, Borders, and Floats
  115. Stopping the Float
  116. Tutorial: Margins, Backgrounds, and Borders
  117. Controlling Page Margins
  118. Adjusting the Space Around Tags
  119. Emphasizing Text with Backgrounds and Borders
  120. Building a Sidebar
  121. Fixing the Browser Bugs
  122. Going Further
  123. Chapter 8: Adding Graphics to Web Pages
  124. CSS and the <img> Tag
  125. Background Images
  126. Controlling Repetition
  127. Positioning a Background Image
  128. Keywords
  129. Precise Values
  130. Percentage Values
  131. Fixing an Image in Place
  132. Using Background Property Shorthand
  133. Tutorial: Creating a Photo Gallery
  134. Framing an Image
  135. Adding a Caption
  136. Building a Photo Gallery
  137. Adding Drop Shadows
  138. Tutorial: Using Background Images
  139. Adding an Image to the Page Background
  140. Replacing Borders with Graphics
  141. Using Graphics for Bulleted Lists
  142. Adding Rounded Corners to the Sidebar
  143. Creating an External Style Sheet
  144. Chapter 9: Sprucing Up Your Site’s Navigation
  145. Selecting Which Links to Style
  146. Understanding Link States
  147. Targeting Particular Links
  148. Styling Links
  149. Underlining Links
  150. Creating a Button
  151. Using Graphics
  152. Building Navigation Bars
  153. Using Unordered Lists
  154. Vertical Navigation Bars
  155. Horizontal Navigation Bars
  156. Advanced Link Techniques
  157. Big Clickable Buttons
  158. CSS-Style Preloading Rollovers
  159. Sliding Doors
  160. Tutorial: Styling Links
  161. Basic Link Formatting
  162. Adding a Background Image to a Link
  163. Highlighting External Links
  164. Marking Visited Pages
  165. Creating a Vertical Navigation Bar
  166. Adding Rollovers and Creating “You Are Here” Links
  167. Fixing the IE Bugs
  168. >From Vertical to Horizontal
  169. Chapter 10: Formatting Tables and Forms
  170. Using Tables the Right Way
  171. Styling Tables
  172. Adding Padding
  173. Adjusting Vertical and Horizontal Alignment
  174. Creating Borders
  175. Styling Rows and Columns
  176. Styling Forms
  177. HTML Form Elements
  178. Laying Out Forms Using CSS
  179. Tutorial: Styling a Table
  180. Tutorial: Styling a Form
  181. Part Three: CSS Page Layout
  182. Chapter 11: Building Float-Based Layouts.
  183. How CSS Layout Works
  184. The Mighty <div> Tag
  185. Types of Web Page Layouts
  186. Float Layout Basics
  187. Applying Floats to Your Layouts
  188. Floating All Columns
  189. Floats Within Floats
  190. Using Negative Margins to Position Elements
  191. Overcoming Float Problems
  192. Clearing and Containing Floats
  193. Creating Full-Height Columns
  194. Preventing Float Drops
  195. Handling Internet Explorer Bugs
  196. Double-Margin Bug
  197. 3-Pixel Gaps
  198. Other IE Problems
  199. Tutorial: Multiple Column Layouts
  200. Structuring the HTML
  201. Creating the Layout Styles
  202. Adding Another Column
  203. Adding a “Faux Column”
  204. Fixing the Width
  205. Tutorial: Negative Margin Layout
  206. Centering a Layout
  207. Floating the Columns
  208. Final Adjustments
  209. Chapter 12: Positioning Elements on a Web Page
  210. How Positioning Properties Work
  211. Setting Positioning Values
  212. When Absolute Positioning Is Relative
  213. When (and Where) to Use Relative Positioning
  214. Stacking Elements
  215. Hiding Parts of a Page
  216. Powerful Positioning Strategies
  217. Positioning Within an Element
  218. Breaking an Element Out of the Box
  219. Using CSS Positioning for Page Layout
  220. Creating CSS-Style Frames Using Fixed Positioning
  221. Tutorial: Positioning Page Elements
  222. Enhancing a Page Banner
  223. Adding a Caption to a Photo
  224. Laying Out the Page
  225. Part Four: Advanced CSS
  226. Chapter 13: CSS for the Printed Page
  227. How Media Style Sheets Work
  228. How to Add Media Style Sheets
  229. Specifying the Media Type for an External Style Sheet
  230. Specifying the Media Type Within a Style Sheet
  231. Creating Print Style Sheets
  232. Using !important to Override Onscreen Styling
  233. Reworking Text Styles
  234. Styling Backgrounds for Print
  235. Hiding Unwanted Page Areas
  236. Adding Page Breaks for Printing
  237. Tutorial: Building a Print Style Sheet
  238. Remove Unneeded Page Elements
  239. Removing Backgrounds and Adjusting the Layout
  240. Reformatting the Text
  241. Displaying the Logo
  242. Displaying URLs
  243. Chapter 14: Improving Your CSS Habits
  244. Adding Comments
  245. Organizing Styles and Style Sheets
  246. Name Styles Clearly
  247. Use Multiple Classes to Save Time
  248. Organize Styles by Grouping
  249. Using Multiple Style Sheets
  250. Eliminating Browser Style Interference
  251. Using Descendent Selectors
  252. Compartmentalize Your Pages
  253. Identify the Body
  254. Managing Internet Explorer Hacks
  255. Design for Contemporary Browsers First
  256. Isolate CSS for IE with Conditional Comments
  257. Part Five:
  258. Appendixes
  259. Appendix A: CSS Property Reference
  260. Appendix B: CSS in Dreamweaver 8
  261. Appendix C: CSS Resources
  262. Index
书名:CSS The Missing Manual(影印版)
国内出版社:东南大学出版社
出版时间:2007年07月
页数:476
书号:978-7-5641-0773-4
原版书出版商:O'Reilly Media
David Sawyer McFarLand
 
Sawyer McFarland Media公司总裁,资深Web应用开发工程师、培训讲师和技术作家。在Web开发方面拥有将近20年的工作经验,具有非常高的知名度和非常大的影响力。曾担任加州大学伯克利分校的网络负责人,他还在加州大学伯克利分校新闻学研究生院和波特兰州立大学任教。他居住在波特兰,并撰写了Adobe Dreamweaver 和CSS方面的Missing Manual系列畅销书。