相關主題
商品描述
Some aspects of the CSS formatting model may seem counterintuitive at first, but as you’ll learn in this practical guide, the more you work with these features, the more they make sense. Author Eric Meyer gives you a good grounding in CSS visual rendering, from element box rules and concepts to the specifics of managing tricky layouts for block-level and inline elements.
Short and sweet, this book is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Basic Visual Formatting in CSS, you’ll receive a discount on the entire Definitive Guide once it’s released. Why wait? Learn how to bring life to your web pages now.
- Learn the details of element box types, including block, inline, inline-block, list-item, and run-in boxes
- Change the type of box an element generates, from inline to block, or list-item to inline
- Dive into the complexities of horizontal and vertical block-box formatting
- Explore key concepts of inline layout: anonymous text, em box, content area, leading, inline box, and line box
- Understand formatting differences between nonreplaced and replaced inline elements
商品描述(中文翻譯)
CSS視覺格式化基礎
CSS格式化模型的某些方面一開始可能會讓人感到不直覺,但正如您將在這本實用指南中學到的那樣,您與這些功能的工作越多,它們就越容易理解。作者Eric Meyer為您提供了CSS視覺渲染的良好基礎,從元素框規則和概念到處理塊級和內聯元素的棘手佈局的具體細節。
這本書簡短而精煉,是即將發行的《CSS: The Definitive Guide》第四版的一部分。當您購買印刷版或電子版的《Basic Visual Formatting in CSS》時,一旦完整的《Definitive Guide》發布,您將享受折扣優惠。為什麼等待呢?現在就學習如何為您的網頁注入生命。
本書內容包括:
- 學習元素框類型的詳細信息,包括塊級、內聯、內聯塊、列表項和插入框
- 更改元素生成的框類型,從內聯到塊,或從列表項到內聯
- 深入研究水平和垂直塊框格式化的複雜性
- 探索內聯佈局的關鍵概念:匿名文本、em框、內容區域、行間距、內聯框和行框
- 理解非替換和替換內聯元素之間的格式化差異