HTML Utopia: Designing Without Tables Using CSS
暫譯: HTML 烏托邦:使用 CSS 無需表格的設計

Rachel Andrew

  • 出版商: Sitepoint
  • 出版日期: 2006-05-09
  • 售價: $1,570
  • 貴賓價: 9.5$1,492
  • 語言: 英文
  • 頁數: 520
  • 裝訂: Paperback
  • ISBN: 0975240277
  • ISBN-13: 9780975240274
  • 相關分類: CSSHTML
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Description  

Rachel Andrew and Dan Shafer’s book is a comprehensive guide to learning and applying the principles of CSS to your Website.

This book will teach you how to…

  • Appreciate why maintaining tables is a nightmare and how CSS can help
  • Understand when to use CSS and when not to use CSS
  • Build robust, flexible two- and three-column layouts using CSS positioning.
  • Easily build both fixed-width and liquid page layouts
  • Reap the benefits of inheritance in CSS
  • Style text and other content using CSS
  • Make the most of other non-obvious uses of CSS
  • Use CSS to achieve maximum Web Accessibility
  • Design sites that are standards compliant
  • Accommodate older Browsers
  • And much more...

Plus, it also comes with a sophisticated sample website styled and layed out completely with CSS and a FREE download of the site and all of its code.

And on top of this ‘HTML Utopia: Designing Without Tables Using CSS, 2nd Edition’ also includes the most complete CSS Property Reference of any book ever written about CSS - with over 150 CSS properties described.

Table of Contents
  1. Preface
    • Who Should Read this Book?
    • What’s in this Book?
    • The Book’s Web Site
      • The Code Archive
      • Updates and Errata
    • The SitePoint Forums
    • The SitePoint Newsletters
    • Your Feedback
    • Acknowledgements
  2. Getting the Lay of the Land
    • CSS in Context
    • The Basic Purpose of CSS
    • Why Most—but Not All—Tables Are Bad
      • Tables Mean Long Load Times
      • Use of Transparent Images Slows us Down
      • Maintaining Tables is a Nightmare
      • Tables Cause Accessibility Issues
      • When it’s Okay to Use a Table
    • What is CSS, Really?
    • Parts of a CSS Rule
    • Types of CSS Rules
      • Which Properties can CSS Rules Affect?
      • Which Elements can CSS Affect?
      • Where can CSS Styles be Defined?
    • A Simple Example
    • Summary
  3. Putting CSS into Perspective
    • What can CSS Do?
      • Color and CSS
      • Fonts and CSS
      • Dynamic Pseudo-classes and CSS
      • Images and CSS
      • Multiple Style Sheets, Users, and CSS
    • Advantages of CSS Design
      • Increased Stylistic Control
      • Centralized Design Information
      • Semantic Content Markup
      • Accessibility
      • Standards Compliance
    • Browser Support for CSS
    • Summary
  4. Digging Below the Surface
    • Applying CSS to HTML Documents
    • Using Shorthand Properties
    • How Inheritance Works in CSS
    • Selectors and the Structure of CSS Rules
      • Universal Selector
      • Element Type Selector
      • Class Selector
      • ID Selector
      • Pseudo-element Selector
      • Pseudo-class Selector
      • Descendant Selector
      • Parent-child Selector
      • Adjacent Selector
      • Attribute Selectors
      • Selector Grouping
    • Expression Measurements
      • Absolute Values
      • Relative Values
    • CSS Comments
    • Summary
  5. Validation and Backward Compatibility
    • Validating your CSS
    • Adjusting for Backward Compatibility
      • Browsers that Do Not Support CSS
      • Browsers with Poor or Badly Implemented CSS Support
      • Bugs in Modern Browsers
    • Keep the Quirks: DOCTYPE Switching
    • Summary
  6. Splashing Around a Bit of Color
    • Who’s in Charge?
    • Color in CSS
      • How to Specify Colors
      • Selecting and Combining Colors
      • Setting body Color
      • Transparency, Color, and User Overrides
    • Interesting Uses of Color
      • Warnings and Cautions
      • Coloring Alternate Rows and Adding Cell Borders in Data Tables
    • Background Images
    • Summary
  7. Working with Fonts
    • How CSS Deals with Fonts
    • The font-family Property
      • Generic Fonts
    • The font-size Property
      • HTML Sizes vs CSS Sizes
      • Variability across Browsers and Platforms
      • Relative to what?
    • Other Font Properties
      • The font-style Property
      • The font-variant Property
      • The font-weight Property
    • The font Shorthand Property
    • Standard and Nonstandard Font Families
      • Specifying Font Lists
      • Using Nonstandard and Downloadable Fonts
    • Summary
  8. Text Effects and the Cascade
    • Using the span Element
    • Text Alignment as a Design Technique
      • Text Alignment in CSS vs HTML
      • Moving from Crowded to Airy Design Using Alignment
    • First-line Indentation
    • Horizontal and Vertical Spacing
      • The line-height Property
      • The letter-spacing and word-spacing Properties
    • Text Decorations
    • Styling Hyperlinks
    • Styling Lists with CSS
      • The list-style-type Property
      • The list-style-position Property
      • The list-style-image Property
    • Cascading and Inheritance
      • Basic Principles of Cascading
      • Sort Order
      • Specificity
      • Origin
      • Weight
    • Summary
  9. Simple CSS Layout
    • The Layout
    • Creating the Document
      • The Header
      • The Main Content Section
      • The Sidebar
    • Positioning the Page Elements
      • The display Property
      • Absolute, Relative, and Positioning Contexts
      • The Box Model
      • Margin Properties
      • Margins, Padding, and Lists
      • Border Properties
    • Constructing the Layout
      • The Header Area
      • The Content Area
      • Repositioning the Sidebar
    • Summary
  10. Three-column Layouts
    • Adding a Third Column
      • The Markup
      • Positioning the Sidebar
    • Adding a Footer
    • The float Property
      • How Does it Work?
    • Putting float into Practice in our Layout
    • Achieving Full-height Columns
    • The Content Order Problem
      • Other Layout Methods
    • Summary
  11. Fixed-width Layouts
    • The Layout
    • Creating the Document
    • Centering the Content Area
      • The Header Area
    • The Content
    • The Table
    • Multiple-column Fixed-width Layouts
      • Positioned Columns
      • Floated Columns
    • “Zoom” Layouts
      • Creating the Style Sheet
      • Attaching Alternate Style Sheets
    • Summary
  1. CSS Miscellany
    • At-rules
    • Aural Style Sheets
    • CSS and JavaScript
  2. CSS Color Reference
  3. CSS Property Reference
    • azimuth
    • background
    • background-attachment
    • background-color
    • background-image
    • background-position
    • background-position-x, background-position-y
    • background-repeat
    • behavior
    • border
    • border-bottom, border-left, border-right, border-top
    • border-bottom-color, border-left-color, border-right-color, border-top-color
    • border-bottom-style, border-left-style, border-right-style, border-top-style
    • border-bottom-width, border-left-width, border-right-width, border-top-width
    • border-collapse
    • border-color
    • border-spacing
    • border-style
    • border-width
    • bottom
    • caption-side
    • clear
    • clip
    • color
    • content
    • counter-increment
    • counter-reset
    • cue
    • cue-after, cue-before
    • cursor
    • direction
    • display
    • elevation
    • empty-cells
    • filter
    • float
    • font
    • font-family
    • font-size
    • font-size-adjust
    • font-stretch
    • font-style
    • font-variant
    • font-weight
    • height
    • ime-mode
    • layout-flow
    • layout-grid
    • layout-grid-char
    • layout-grid-line
    • layout-grid-mode
    • layout-grid-type
    • left
    • letter-spacing
    • line-break
    • line-height
    • list-style
    • list-style-image
    • list-style-position
    • list-style-type
    • margin
    • margin-bottom, margin-left, margin-right, margin-top
    • marker-offset
    • marks
    • max-height, min-height
    • max-width, min-width
    • -moz-border-radius
    • -moz-border-radius-bottomleft, -moz-border-radius-bottomright, -moz-border-radius-topleft, -moz-border-radius-topright
    • -moz-opacity
    • orphans
    • outline
    • outline-color
    • outline-style
    • outline-width
    • overflow
    • overflow-x, overflow-y
    • padding
    • padding-bottom, padding-left, padding-right, padding-top
    • page
    • page-break-after
    • page-break-before
    • page-break-inside
    • pause
    • pause-after, pause-before
    • pitch
    • pitch-range
    • play-during
    • position
    • quotes
    • richness
    • right
    • ruby-align
    • ruby-overhang
    • ruby-position
    • scrollbar-base-color
    • scrollbar-element-color
    • size
    • speak
    • speak-header
    • speak-numeral
    • speak-punctuation
    • speech-rate
    • stress
    • table-layout
    • text-align
    • text-align-last
    • text-autospace
    • text-decoration
    • text-indent
    • text-justify
    • text-kashida-space
    • text-overflow
    • text-transform
    • text-underline-position
    • top
    • unicode-bidi
    • vertical-align
    • visibility
    • voice-family
    • volume
    • white-space
    • widows
    • width
    • word-break
    • word-spacing
    • word-wrap
    • writing-mode
    • z-index
    • zoom

商品描述(中文翻譯)

**描述**

Rachel Andrew 和 Dan Shafer 的書是一本全面的指南,教你如何學習和應用 CSS 原則於你的網站。

這本書將教你如何…

- 理解為什麼維護表格是一場噩夢,以及 CSS 如何提供幫助
- 知道何時使用 CSS 以及何時不使用 CSS
- 使用 CSS 定位構建穩健且靈活的兩欄和三欄佈局
- 輕鬆構建固定寬度和流動頁面佈局
- 獲得 CSS 繼承的好處
- 使用 CSS 美化文本和其他內容
- 充分利用 CSS 的其他不明顯用途
- 使用 CSS 實現最大化的網頁可及性
- 設計符合標準的網站
- 兼容舊版瀏覽器
- 還有更多…

此外,它還附帶一個完全使用 CSS 樣式和佈局的精緻範例網站,以及該網站及其所有代碼的免費下載。

更重要的是,這本書《HTML Utopia: Designing Without Tables Using CSS, 2nd Edition》還包含了有史以來最完整的 CSS 屬性參考,描述了超過 150 種 CSS 屬性。

**目錄**

- 前言
- 誰應該閱讀這本書?
- 這本書的內容是什麼?
- 本書的網站
- 代碼檔案
- 更新和勘誤
- SitePoint 論壇
- SitePoint 通訊
- 你的反饋
- 感謝詞
- 瞭解全貌
- CSS 的背景
- CSS 的基本目的
- 為什麼大多數(但不是所有)表格都是不好的
- 表格意味著長加載時間
- 使用透明圖像會減慢速度
- 維護表格是一場噩夢
- 表格會造成可及性問題
- 何時可以使用表格
- CSS 真的是什么?
- CSS 規則的組成部分
- CSS 規則的類型
- CSS 規則可以影響哪些屬性?
- CSS 可以影響哪些元素?
- CSS 樣式可以在哪裡定義?
- 一個簡單的例子
- 總結
- 將 CSS 放入視角
- CSS 可以做什麼?
- 顏色和 CSS
- 字體和 CSS
- 動態偽類和 CSS
- 圖像和 CSS
- 多個樣式表、用戶和 CSS
- CSS 設計的優勢
- 增加風格控制
- 集中設計信息
- 語義內容標記
- 可及性
- 符合標準
- 瀏覽器對 CSS 的支持
- 總結
- 深入探討
- 將 CSS 應用於 HTML 文檔
- 使用簡寫屬性
- CSS 中的繼承如何運作
- 選擇器和 CSS 規則的結構
- 通用選擇器
- 元素類型選擇器
- 類選擇器
- ID 選擇器
- 偽元素選擇器
- 偽類選擇器
- 後代選擇器
- 父子選擇器
- 相鄰選擇器
- 屬性選擇器
- 選擇器分組
- 表達式測量
- 絕對值
- 相對值
- CSS 註釋
- 總結
- 驗證和向後兼容性
- 驗證你的 CSS
- 調整以實現向後兼容性
- 不支持 CSS 的瀏覽器
- 支持 CSS 不佳或實現不良的瀏覽器
- 現代瀏覽器中的錯誤
- 保留怪癖:DOCTYPE 切換
- 總結
- 稍微玩弄一下顏色
- 誰在掌控?
- CSS 中的顏色
- 如何指定顏色
- 選擇和組合顏色
- 設置 body 顏色
- 透明度、顏色和用戶覆蓋
- 顏色的有趣用法
- 警告和注意事項
- 在數據表中為交替行上色和添加單元格邊框
- 背景圖像
- 總結
- 與字體一起工作
- CSS 如何處理字體
- font-family 屬性
- 通用字體
- font-size 屬性
- HTML 尺寸與 CSS 尺寸
- 跨瀏覽器和平台的變化
- 相對於什麼?
- 其他字體屬性
- font-style 屬性
- font-variant 屬性
- font-weight 屬性
- font 簡寫屬性
- 標準和非標準字體系列
- 指定字體列表
- 使用非標準和可下載字體
- 總結
- 文本效果和層疊
- 使用 span 元素
- 文本對齊作為設計技術
- CSS 與 HTML 中的文本對齊
- 使用對齊從擁擠的設計轉向通透的設計
- 首行縮排
- 水平和垂直間距
- line-height 屬性
- letter-spacing 和 word-spacing 屬性
- 文本裝飾
- 美化超鏈接
- 使用 CSS 美化列表
- list-style-type 屬性
- list-style-position 屬性
- list-style-image 屬性
- 層疊和繼承
- 層疊的基本原則
- 排序順序
- 特異性
- 來源
- 權重
- 總結
- 簡單的 CSS 佈局
- 佈局
- 創建文檔
- 標題
- 主要內容區域
- 側邊欄
- 定位頁面元素
- display 屬性
- 絕對、相對和定位上下文
- 盒模型
- 邊距屬性
- 邊距、內邊距和列表
- 邊框屬性
- 構建佈局
- 標題區域
- 內容區域
- 重新定位側邊欄
- 總結
- 三欄佈局
- 添加第三欄
- 標記
- 定位側邊欄
- 添加頁腳
- float 屬性
- 它是如何工作的?
- 在我們的佈局中實踐 float
- 實現全高列
- 內容順序問題
- 其他佈局方法
- 總結
- 固定寬度佈局
- 佈局
- 創建文檔
- 居中內容區域
- 標題區域
- 內容
- 表格
- 多欄固定寬度佈局
- 定位列
- 浮動列
- “縮放”佈局
- 創建樣式表
- 附加替代樣式表
- 總結
- CSS 雜項
- at-rules
- 聽覺樣式表
- CSS 和 JavaScript
- CSS 顏色參考
- CSS 屬性參考
- azimuth
- background
- background-attachment
- background-color
- background-image
- background-position
- background-position-x, background-position-y
- background-repeat
- behavior
- border
- border-bottom, border-left, border-right, border-top
- border-bottom-color, border-left-color, border-right-color, border-top-color
- border-bottom-style, border-left-style, border-right-style, border-top-style
- border-bottom-width, border-left-width, border-right-width, border-top-width
- border-collapse
- border-color
- border-spacing
- border-style
- border-width
- bottom
- caption-side
- clear
- clip
- color
- content
- counter-increment
- counter-reset
- cue
- cue-after, cue-before
- cursor
- direction
- display
- elevation
- empty-cells
- filter
- float
- font
- font-family
- font-size
- font-size-adjust
- font-stretch
- font-style
- font-variant
- font-weight
- height
- ime-mode
- layout-flow
- layout-grid
- layout-grid-char
- layout-grid-line
- layout-grid-mode
- layout-grid-type
- left
- letter-spacing
- line-break
- line-height
- list-style
- list-style-image
- list-style-position
- list-style-type
- margin
- margin-bottom, margin-left, margin-right, margin-top
- marker-offset
- marks
- max-height, min-height
- max-width, min-width
- -moz-border-radius
- -moz-border-radius-bottomleft, -moz-border-radius-bottomright, -moz-border-radius-topleft, -moz-border-radius-topright
- -moz-opacity
- orphans
- outline
- outline-color
- outline-style
- outline-width
- overflow
- overflow-x, overflow-y
- padding
- padding-bottom, padding-left, padding-right, padding-top
- page
- page-break-after
- page-break-before
- page-break-inside
- pause
- pause-after, pause-before
- pitch
- pitch-range
- play-during
- position
- quotes