相關主題
商品描述
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 格式化模型的方面起初可能看起來不太直觀,但正如您在這本實用指南中將學到的,您越是使用這些功能,它們就越能讓人理解。作者 Eric Meyer 為您提供了 CSS 視覺渲染的良好基礎,從元素盒子規則和概念到管理區塊級和行內元素的複雜佈局的具體細節。
這本書簡短而精煉,是即將出版的第四版《CSS: The Definitive Guide》的摘錄。當您購買《Basic Visual Formatting in CSS》的印刷版或電子書版時,您將在整本 Definitive Guide 發行後獲得折扣。為什麼要等呢?現在就學習如何為您的網頁注入生命。
- 了解元素盒子類型的細節,包括區塊、行內、行內區塊、列表項和運行盒
- 更改元素生成的盒子類型,從行內轉為區塊,或從列表項轉為行內
- 深入探討水平和垂直區塊盒格式化的複雜性
- 探索行內佈局的關鍵概念:匿名文本、em 盒、內容區域、行距、行內盒和行盒
- 理解非替換和替換行內元素之間的格式化差異