此商品已下架,若仍需天瓏代為查詢或代購書籍,請與門市客服人員聯繫,或 E-mail 至 service@tenlong.com.tw 將有專人為您服務。

Cascading Style Sheets: The Definitive Guide, 2/e
暫譯: 層疊樣式表:權威指南,第二版

Eric A. Meyer

  • 出版商: O'Reilly
  • 出版日期: 2003-12-31
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 680
  • ISBN: 0596005253
  • ISBN-13: 9780596005252
  • 已過版

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

商品描述

Simply put, Cascading Style Sheets (CSS) is a way to separate a document's structure from its presentation. The benefits of this can be quite profound: CSS allows a much richer document appearance than HTML; CSS saves time--you can create or change the appearance of an entire document in just one place; and its compact file size makes web pages load quickly. Eric Meyer, a member of the CSS&FP Working Group and an internationally known expert on HTML and CSS, tackles the subject with passion and delivers a comprehensive and thorough update to his groundbreaking book.

All readers will benefit from both the depth and breadth of his experience and his clear and honest style. Cascading Style Sheets: The Definitive Guide, 2nd Edition is a thorough review of all aspects of CSS2.1 and a comprehensive guide to CSS implementation. The book includes new content on positioning, lists and generated content, table layout, user interface, paged media, and more. It explores in detail each individual CSS property and how it interacts with other properties, and shows how to avoid common mistakes in interpretation.

If you're ready to take the next step with your HTML coding and incorporate CSS or are already a CSS code warrior, you'll find Cascading Style Sheets: The Definitive Guide, 2nd Edition is the book you've been craving.

Table of Contents:

Foreword

Preface

1. CSS and 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
     Table Formatting
     Table Cell Borders
     Table Sizing

12. Lists and Generated Content
     Lists
     Generated Content

13. User Interface Styles
     System Fonts and Colors
     Cursors
     Outlines

14. Non-Screen Media
     Designating Medium-Specific Style Sheets
     Paged Media
     Aural Styles

A. Property Reference

B. Selector, Pseudo-Class, and Pseudo-Element Reference

C. Sample HTML 4 Style Sheet

Index

商品描述(中文翻譯)

簡單來說,層疊樣式表(Cascading Style Sheets, CSS)是一種將文檔的結構與其呈現方式分開的方式。這樣做的好處相當深遠:CSS 允許文檔擁有比 HTML 更豐富的外觀;CSS 節省時間——您可以在一個地方創建或更改整個文檔的外觀;而且其緊湊的文件大小使得網頁加載迅速。Eric Meyer,CSS & FP 工作組的成員以及國際知名的 HTML 和 CSS 專家,熱情地探討這個主題,並對他開創性的書籍進行了全面而徹底的更新。

所有讀者都將受益於他深厚的經驗和清晰誠實的風格。《層疊樣式表:權威指南》(Cascading Style Sheets: The Definitive Guide)第二版是對 CSS2.1 各個方面的徹底回顧,也是 CSS 實現的全面指南。這本書包含了有關定位、列表和生成內容、表格佈局、用戶界面、分頁媒體等的新內容。它詳細探討了每個 CSS 屬性及其與其他屬性的互動,並展示了如何避免常見的解釋錯誤。

如果您準備好在 HTML 編碼中邁出下一步並整合 CSS,或者您已經是一位 CSS 編碼戰士,您會發現《層疊樣式表:權威指南》第二版正是您渴望的書籍。

目錄:
前言

序言

1. CSS 與文檔
網路的失落
CSS 的救援
元素
將 CSS 與 XHTML 結合

2. 選擇器
基本規則
分組
類別和 ID 選擇器
屬性選擇器
使用文檔結構
偽類和偽元素

3. 結構與層疊
特異性
繼承
層疊

4. 值與單位
數字
百分比
顏色
長度單位
URL
CSS2 單位

5. 字型
字型系列
字型粗細
字型大小
樣式與變體
字型的拉伸與調整
字型屬性
字型匹配

6. 文字屬性
縮排與水平對齊
垂直對齊
單詞間距與字母間距
文字轉換
文字裝飾
文字陰影

7. 基本視覺格式化
基本盒子
區塊級元素
行內元素
改變元素顯示

8. 內邊距、邊框與外邊距
基本元素盒子
外邊距
邊框
內邊距

9. 顏色與背景
顏色
前景顏色
背景

10. 浮動與定位
浮動
定位

11. 表格佈局
表格格式化
表格單元格邊框
表格大小

12. 列表與生成內容
列表
生成內容

13. 用戶界面樣式
系統字型與顏色
游標
輪廓

14. 非螢幕媒體
指定媒介特定樣式表
分頁媒體
聲音樣式

A. 屬性參考

B. 選擇器、偽類和偽元素參考

C. 示例 HTML 4 樣式表

索引