With Firefox, Safari, Internet Explorer, and other browsers debuting new versions, an updated resource on building web sites with Cascading Style Sheets (CSS) is critical. This new edition of a perennial classic responds to that need and gets you quickly up to speed on using CSS to create appealing web sites in a professional way. Completely updated with new examples, this full–color book has been carefully revised based on reader input and now provides an even more concise and streamlined introduction to CSS. Veteran authors Ian Pouncey and Richard York cover how to write CSS from scratch like a professional, and discuss the many improvements to CSS that have emerged since the previous edition.
Beginning CSS, Third Edition:
Dissects the various elements that make up a style sheet
Demonstrates how to style and manipulate the display of text
Zeroes in on how to use background images appropriately
Examines the box model and how it is used to lay out content
Addresses a variety of ways to position content and explains how to create a complete layout
Reviews advanced techniques such as styling for mobile devices, using custom fonts, and applying gradient backgrounds with CSS
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
PART I: THE BASICS.
CHAPTER 1: INTRODUCING CASCADING STYLE SHEETS.
CHAPTER 2: THE BITS THAT MAKE UP A STYLE SHEET.
CHAPTER 3: SELECTORS.
CHAPTER 4: THE CASCADE AND INHERITANCE.
PART II: PROPERTIES.
CHAPTER 5: APPLYING FONT FACES.
CHAPTER 6: MANIPULATING THE DISPLAY OF TEXT.
CHAPTER 7: BACKGROUND COLORS AND IMAGES.
CHAPTER 8: THE BOX MODEL: CONTROLLING MARGINS, BORDERS, PADDING, WIDTH, AND HEIGHT.
CHAPTER 9: FLOATING AND VERTICAL ALIGNMENT.
CHAPTER 10: STYLING LISTS.
CHAPTER 11: POSITIONING.
CHAPTER 12: STYLING TABLES.
CHAPTER 13: CREATE A COMPLETE LAYOUT.
PART III: ADVANCED CSS AND ALTERNATIVE MEDIA.
CHAPTER 14: ADVANCED SELECTORS.
CHAPTER 15: STYLING FOR PRINT.
CHAPTER 16: CUSTOMIZING THE MOUSE CURSOR.
CHAPTER 17: CONTROLLING OPACITY AND VISIBILITY.
CHAPTER 18: STYLING CONTENT FOR MOBILE DEVICES.
CHAPTER 19: CLOSING COMMENTS.
APPENDIX A: ANSWERS TO EXERCISES.
APPENDIX B: ADDITIONAL CSS RESOURCES.
APPENDIX C: CSS REFERENCE.
APPENDIX D: CSS COLORS.