CSS权威指南,第三版(影印版)
CSS权威指南,第三版(影印版)
Eric A. Meyer
出版时间:2007年06月
页数:540
想要快速省力地做到让Web风格整齐划一吗?《CSS权威指南》(第三版)告诉你怎样将最新的CSS2以及CSS2.1里面所定义的各种CSS元素应用到实际工作当中。通过书中的例子,你将学会怎样使用CSS创建或修改网站的外观,并且达到普通HTML无法实现的效果。
著名的CSS专家Eric A. Meyer用他招牌式的智慧和无与伦比的经验引领读者探索了CSS的各个部分,包括属性、标记、特性和实现。此外,他还就现实应用中的一些问题,例如浏览器的支持和设计方针,发表了看法。你所要知道的就是HTML 4.0的知识,这样就可以创建整洁、易于维护的脚本,以与桌面出版系统同样的优雅和控制能力管理网站布局和分页。你将会学到:
*精妙地设计文本风格
*用户界面、表格布局、列表以及自动生成的内容
*浮动和定位的细节
*Font family和Fallback机制
*盒模型(box model)的工作机制
*IE7、Firefox及其他一些浏览器所支持的最新CSS3 的选择器(selector)
经过彻底地更新,新版的《CSS权威指南》已经适用于IE7。它详细讲述了CSS的各个属性,告诉你怎样同其他属性交互,怎样在编写CSS时避免常见的错误。不管你是一个有经验的Web开发人员还是一个彻底的初学者,这本书都是你的CSS学习源泉。
Eric A.Meyer从1993年就开始使用Web技术。他是国际公认的HTML、CSS和Web标准的专家。此外,他还是Complex Spiral Consulting公司的创建人。这个公司的客户包括America Online、Apple Computer、Wells Fargo Bank和Macromedia。
  1. Preface
  2. 1. CSS and Documents
  3. The Web’s Fall from Grace
  4. CSS to the Rescue
  5. Elements
  6. Bringing CSS and XHTML Together
  7. 2. Selectors
  8. Basic Rules
  9. Grouping
  10. Class and ID Selectors
  11. Attribute Selectors
  12. Using Document Structure
  13. Pseudo-Classes and Pseudo-Elements
  14. 3. Structure and the Cascade
  15. Specificity
  16. Inheritance
  17. The Cascade
  18. 4. Values and Units
  19. Numbers
  20. Percentages
  21. Color
  22. Length Units
  23. URLs
  24. CSS2 Units
  25. 5. Fonts
  26. Font Families
  27. Font Weights
  28. Font Size
  29. Styles and Variants
  30. Stretching and Adjusting Fonts
  31. The font Property
  32. Font Matching
  33. 6. Text Properties
  34. Indentation and Horizontal Alignment
  35. Vertical Alignment
  36. Word Spacing and Letter Spacing
  37. Text Transformation
  38. Text Decoration
  39. Text Shadows
  40. 7. Basic Visual Formatting
  41. Basic Boxes
  42. Block-Level Elements
  43. Inline Elements
  44. Altering Element Display
  45. 8. Padding, Borders, and Margins
  46. Basic Element Boxes
  47. Margins
  48. Borders
  49. Padding
  50. 9. Colors and Backgrounds
  51. Colors
  52. Foreground Colors
  53. Backgrounds
  54. 10. Floating and Positioning
  55. Floating
  56. Positioning
  57. 11. Table Layout
  58. Table Formatting
  59. Table Cell Borders
  60. Table Sizing
  61. 12. Lists and Generated Content
  62. Lists
  63. Generated Content
  64. 13. User Interface Styles
  65. System Fonts and Colors
  66. Cursors
  67. Outlines
  68. 14. Non-Screen Media
  69. Designating Medium-Specific Style Sheets
  70. Paged Media
  71. Aural Styles
  72. A. Property Reference
  73. B. Selector, Pseudo-Class, and
  74. Pseudo-Element Reference
  75. C. Sample HTML 4 Style Sheet
  76. Index
书名:CSS权威指南,第三版(影印版)
作者:Eric A. Meyer
国内出版社:东南大学出版社
出版时间:2007年06月
页数:540
书号:978-7-5641-0777-2
原版书出版商:O'Reilly Media
Eric A. Meyer
 
Eric A.Meyer从1993年底就开始从事Web方面的工作,他在HTML、CSS和Web标准领域是国际上公认的专家。在发表文章和著作的同时,Eric还是Complex Spiral Consulting公司(www.complexspiral.com)的奠基人,他的客户包括美国在线、苹果计算机公司、Well Fargo银行和Macromedia等著名公司,特别是Macromedia公司这样描述Eric:“在我们将Macromedia Dreamweaver MX 2004转变成这样一个基于CSS的设计的革命性工具的过程中,他起到了举足轻重的作用。”
从1994年初开始,Eric成为Case Western Reserve大学网站的视觉效果设计师和校园Web协调员,在这里他还著有3册广受好评的HTML系列教程,他也是《克利夫兰历史百科全书》和《克利夫兰传记辞典》在线版的项目协调员,这是完全免费在Web上发布的第一部关于城市历史的百科全书。
作为《Eric Meyer on CSS》和《More Eric Meyer on CSS》(New Riders出版)、《Cascading Style Sheets:The Definitive Guide》(O誖eilly出版)和《CSS2.0 Programmer誷 Reference》(Osborne/McGraw-Hill出版),以及O誖eilly Network、Web Techniques和Web Review上许多文章的作者,Eric还创建了CSS Browser Compatibility Charts,并协调完成了W3C官方CSS Test Suite的创作和建成。他曾在众多大型机构发表演说,包括Los Alamos国家实验室、纽约公共图书馆、Cornell大学和Northern Iowa大学。Eric还在很多会议上做过技术演讲,包括他合作创办的An Event Apart、IW3C2 WWW系列、Web Design World、CMP、SXSW、user Irterface会议系列以及The Other Dreamweaver Conference。
在工作之余,Eric担任着css-discuss邮件列表(www.css-discuss.org)的管理员,这是他与Western Civilisation的John Allsopp共同创立的一个相当活跃的邮件列表,目前这个邮件列表由evolt.org提供支持。Eric生活在美国俄亥俄州的克利夫兰,你可能想象不到他是一个多优秀的文明市民。他作为“Your Father誷 Oldsmobile”节目的主持人已经有9年之久,这是克利夫兰WRUW 91.1 FM电台每周一次的一个怀旧爵士乐节目。
可以从Eric个人网页(http://www.meyerweb.com/eric)了解他的更多详细信息。




从1993年起,Eric A. Meyer就开始从事Web的相关工作。在Case Western Reserve University(CWSU)工作时,他主要致力于基于数字媒体服务的超媒体管理器方面的研究。2000年3月,他离开了CWSU,加盟了俄亥俄州克利夫兰县的一个信息技术公司。Eric是“国际上享有盛名的HTML和CSS专家”,同时还是W3C CSS&FP工作组的特邀专家和成员,协调W3C的CSS测试小组(http://www.w3.org/Style/CSS/Test)开展工作,而且他还经常活跃于CSS新闻组,负责维护Web Review公司的“样式表参考指南”网站(http://style.webreview.com/)。他不辞辛劳地创作和编写了大量有用的技术文档,竭尽全力地捕捉当今网络浏览器对CSS的支持信息。Eric很诙谐,而且很有爱心,每当有空的时候,他都不忘和家人团聚,还不时给妻子Kat添点儿麻烦。
Eric A. Meyer has been working with the Web since late 1993 and is an internationally recognized expert on the subjects of HTML,CSS,and web standards. A widely read author,he is also the founder of Complex Spiral Consulting(www.complexspiral.com),which counts among its clients America Online; Apple Computer,Inc.; Wells Fargo Bank; and Macromedia,which described Eric as "a critical partner in our efforts to transform Macromedia Dreamweaver MX 2004 into a revolutionary tool for CSS-based design."
Beginning in early 1994,Eric was the visual designer and campus web coordinator for the Case Western Reserve University web site,where he also authored a widely acclaimed series of three HTML tutorials and was project coordinator for the online version of the Encyclopedia of Cleveland History and the Dictionary of Cleveland Biography,the first encyclopedia of urban history published fully and freely on the Web.
Author of Eric Meyer on CSS and More Eric Meyer on CSS (New Riders), Cascading Style Sheets: The Definitive Guide (O'Reilly), and CSS2.0 Programmer's Reference (Osborne/McGraw-Hill),as well as numerous articles for the O'Reilly Network,Web Techniques,and Web Review,Eric also created the CSS Browser Compatibility Charts and coordinated the authoring and creation of the W3C's official CSS Test Suite. He has lectured to a wide variety of organizations,including Los Alamos National Laboratory,the New York Public Library,Cornell University,and the University of Northern Iowa. Eric has also delivered addresses and technical presentations at numerous conferences,among them An Event Apart (which he cofounded),the IW3C2 WWW series,Web Design World, CMP, SXSW, the User Interface conference series, and The Other Dreamweaver Conference.
In his personal time, Eric acts as List Chaperone of the highly active css-discuss mailing list (www.css-discuss.org), which he cofounded with John Allsopp of Western Civilisation,and which is now supported by evolt.org. Eric lives in Cleveland,Ohio,which is a much nicer city than you've been led to believe. For nine years he was the host of "Your Father's Oldsmobile," a Big Band-era radio show heard weekly on WRUW 91.1 FM in Cleveland.
You can find more detailed information on Eric's personal web page at http://
www.meyerweb.com/eric.
 
 
The animals on the cover of CSS: The Definitive Guide,Third Edition,are salmon
(salmonidae),which is a family of fish consisting of many different species. Two of
the most common salmon are the Pacific salmon and the Atlantic salmon.
Pacific salmon live in the northern Pacific Ocean off the coasts of North America and
Asia. There are five subspecies of Pacific salmon,with an average weight of 10 to 30
pounds. Pacific salmon are born in the fall in freshwater stream gravel beds,where
they incubate through the winter and emerge as inch-long fish. They live for a year or
two in streams or lakes and then head downstream to the ocean. There they live for a
few years,before heading back upstream to their exact place of birth to spawn and
then die.
Atlantic salmon live in the northern Atlantic Ocean off the coasts of North America
and Europe. There are many subspecies of Atlantic salmon,including the trout and
the char. Their average weight is 10 to 20 pounds. The Atlantic salmon family has a
life cycle similar to that of its Pacific cousins,and also travels from freshwater gravel
beds to the sea. A major difference between the two, however, is that the Atlantic
salmon does not die after spawning; it can return to the ocean and then return to the
stream to spawn again, usually two or three times.
Salmon, in general,are graceful,silver-colored fish with spots on their backs and
fins. Their diet consists of plankton,insect larvae,shrimp,and smaller fish. Their
unusually keen sense of smell is thought to help them navigate from the ocean back
to the exact spot of their birth,upstream past many obstacles. Some species of
salmon remain landlocked, living their entire lives in freshwater.
Salmon are an important part of the ecosystem, as their decaying bodies provide
fertilizer for streambeds. Their numbers have been dwindling over the years,
however. Factors in the declining salmon population include habitat destruction,
fishing, dams that block spawning paths, acid rain, droughts, floods, and pollution.