Pro CSS and HTML Design Patterns

迈克尔·鲍尔斯 Michael Bowers
精通CSS与HTML设计模式(Pro CSS and HTML Design Patterns)简介:

Pro CSS and HTML Design Patterns is a reference book and a cookbook on how to style web pages using CSS and XHTML. It contains 350 ready–to–use patterns (CSS and XHTML code snippets) you can copy and paste into your code. Each pattern can be combined with other patterns to create an unlimited number of solutions.

Each pattern works reliably in all major browsers without the need for browser hacks.

The book shows how to

  • Code CSS and XHTML
  • Turn HTML into XHTML
  • Use CSS Selectors
  • Use six CSS Box Models
  • Create rounded corners, shadows, gradients, sprites, and transparency
  • Replace text with images without affecting accessibility
  • Style text with fonts, highlights, decorations, and shadows
  • Create flexible, fluid layouts
  • Position elements with absolute pixel precision
  • Stack elements in layers
  • Size, stretch, shrinkwrap, indent, align, and offset elements
  • Style tables with borders and alternating striped rows
  • Size table columns automatically
  • Integrate CSS and JavaScript without embedding JavaScript in XHTML
  • Create drop caps, callouts, quotes, and alerts

The book’s layout, with a pattern’s example on the left page and its explanation on the right, makes it easy to find a pattern and study it without having to flip between pages. The book is also readable from cover to cover, with topics building carefully upon previous topics.

A software developer can use this book to learn CSS for the first time. A designer familiar with CSS can use this book to master CSS and XHTML. If you are completely new to coding or completely new to CSS and XHTML, you may want to read an introductory book on CSS and XHTML first.

You can interact with all the examples in the book at

  本书是一部非常实用的CSS 与HTML(XHTML)解决方案手册。书中包含了350 多种可以立即使用的设计模式(涉及文本、背景、边框、图片、表格、布局等多方面),并介绍了每种模式的原理和使用。每种设计模式、示例和源代码都经过了精心设计,易于实现和使用。通过阅读此书,可大大提高读者在Web 设计和开发中的效率和创造力。
  本书结构清晰,示例丰富,实践性强,适用于所有Web 开发和设计人员。



  • 本书版权归原作者所有,本站暂无下载,请购买正版!
  • 精通CSS与HTML设计模式 Pro CSS and HTML Design Patterns