The power to build visually stunning web sites is now at your fingertips. This comprehensive introduction clearly shows you how to combine Cascading Style Sheets (CSS) with HTML, XHTML, or XML to create rich, aesthetically compelling web designs. It follows a browser-neutral point of view so you can easily develop sites that are compatible with IE6, IE7, Firefox 2, Opera 9, and Safari 2.
Packed with detailed examples in syntax-colored code and showing the resulting web pages in color, the second edition will help you discover how and why CSS works. It first guides you through the principles of sound CSS-based web design and the properties for manipulating the presentation of a document. You'll then find out how to take your sites to a higher level with CSS concepts such as multi-column layouts and centering positioned elements vertically.
What you will learn from this book
- All about the CSS Level 1, 2, 2.1, and 3 specifications
- Ways to manipulate text and select effects for your fonts
- Bugs and workarounds for IE6 and IE7
- How to control the flow of your document layout
- Tips for enhancing your design using backgrounds
- The four different types of positioning: static, relative, absolute, and fixed
- How to change the behavior of elements in an XML or HTML/XHTML document
Who this book is for
This book is for beginning web developers and designers who want to use CSS for better, faster design and markup. Basic familiarity with HTML is required.
About the Author
Richard York is a web application developer for Trilithic, Inc., a company specializing in test equipment for the telecommunications industry. He wrote his first book, Beginning CSS: Cascading Style Sheets for Web Design (Wrox Press), in 2004.