随着网络的发展,网页制作的盛行,各种设计网页的语言应运而生。本书主要向你展示如何调试你的CSS,以兼容任何浏览器——包括Internet Explorer 7。并且还介绍CSS在设计网页文字、背景、动态网页效果和按钮特效等方面的应用及其与HTML的结合。
打开本书吧,你会学到如何以CSS友好的方式进行基本页面构造;还会学到如何像CSS设计者那样思考。
层叠样式表(CSS)能让你内心的设计思想迸发出来并得以实现。不过,将CSS与网站底层的HTML页面进行整合是一件非常困难的工作,有时甚至复杂得令人沮丧——这导致多数Web设计者不得不放弃一些奇思妙想。《CSS: The Missing Manual》可以消除Web设计工作的痛苦,并且带给你:
HTML——重新入门。如果你是HTML新手,你会学到如何以CSS友好的方式进行基本页面构建。若你是HTML高手,你将学会如何像CSS设计者那样思考。
鲜活实例。100多页颇具实用价值的教程帮助你循序渐进地学习。你马上就可以实践所学到的概念。
设计导引。超越CSS基础,发现专业人员最为实用和最具视觉冲击力的页面布局技巧。
真实世界的CSS。本书向你展示如何调试你的CSS,以兼容任何浏览器——包括Internet Explorer 7。
The Missing Credits
Introduction
Part One:CSS Basics
Chapter 1:Rethinking HTML for CSS
HTML:Past and Present
HTML Past:Whatever Looked Good
HTML Present:Scaffolding for CSS
Writing HTML for CSS
Think Structure
Two New HTML Tags to Learn
HTML to Forget
Tips to Guide Your Way
The Importance of the Doctype
Chapter 2:Creating Styles and Style Sheets
Anatomy of a Style
Understanding Style Sheets
Internal or External-How to Choose
Internal Style Sheets
External Style Sheets
Linking a Style Sheet Using HTML
Linking a Style Sheet Using CSS
Tutorial:Creating Your First Styles
Creating an Inline Style
Creating an Internal Style Sheet
Creating an External Style Sheet
Chapter 3:Selector Basics:Identifying What to Style
Chapter 4:Saving Time with Inheritance
Chapter 5:Managing Multiple Styles:The Cascade
Part Two:Applied CSS
Chapter 6:Formatting Text
Chapter 7:Margins,Padding,and Borders
Chapter 8:Adding Graphics to Web Pages
Chapter 9:Sprucing Up Your Site's Navigation
Chapter 10:Formatting Tables and Forms
Part Three:CSS Page Layout
Chapter 11:Building Float-Based Layouts
Chapter 12:Positioning Elements on a Web Page
Part Four:Advanced CSS
Chapter 13:CSS for the Printed Page
Chapter 14:Improving Your CSS Habits
Part Five:Appendixes
Appendixes A:CSS Property Reference
Appendixes B:CSS in Dreamweaver 8
Appendixes C:CSS Resources
Index