Apress

Getting StartED with CSS

By David Powers

Getting StartED with CSS Cover Image

Getting StartED with CSS takes a practical approach by showing you how to use CSS in simple stages, starting by changing the default appearance of HTML tags to improve the look of text and links.—By the end of the book you'll have a solid understanding of all the main aspects of CSS.

Full Description

  • ISBN13: 978-1-4302-2543-0
  • User Level: Beginner
  • Publication Date: November 30, 2009
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $24.99
  • eBook Price: $17.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Knowledge of Cascading Style Sheets (CSS) is essential for developing modern, attractive websites, but many beginners are put off by the need to learn about unfamiliar concepts, such as selectors, properties, and classes, before they can achieve anything. Getting StartED with CSS takes a practical approach by showing you how to use CSS in simple stages, starting by changing the default appearance of HTML tags to improve the look of text and links. It assumes no prior knowledge of CSS and avoids bombarding you with unnecessary technical details. At the same time, it explains all the main points and acts as a reference that you can come back to when you need to refresh your memory. More advanced concepts are introduced gradually, so that by the end of the book you'll have a solid understanding of all the main aspects of CSS. Particular attention is paid to avoiding the common pitfalls of beginners, enabling you to create websites that not only look good, but also are easy to maintain.

  • Requires no previous knowledge of CSS
  • Instant results—starts off by showing how improve the look of a website stage by stage
  • Doesn't bombard you with endless rules and jargon

What you’ll learn

  • How to immediately improve the look of your entire website by controlling fonts and colors with just a few lines of code.
  • How to control the layout of elements on the page without resorting to complex tables.
  • How to add background images that appear exactly where you want them.
  • How to create effective style sheets that are easy to maintain by avoiding common mistakes such as over-reliance on classes ("classitis").
  • How browsers display page elements and master CSS positioning.
  • How to experiment with advanced CSS selectors.

Who this book is for

This book is aimed at anybody who wants to learn how to style websites using CSS. The primary readership is likely to be independent web developers and serious hobbyists, but knowledge of CSS is essential to anyone planning a career in web development, so it should also find a place in the curriculum of academic courses in media studies.

Table of Contents

Table of Contents

  1. What Is CSS, and Why Should I Learn It?
  2. How Do I Improve the Look of Text and Links?
  3. How Can I Improve the Layout of My Text?
  4. How Can I Flow Text Around Images?
  5. How Do I Add Backgrounds and Borders to Improve the Look of My Page?
  6. How Do I Solve the Mysteries of Width and Height?
  7. How Do I Create Differently Styled Sections?
  8. How Do I Style Lists and Navigation Menus?
  9. How Do I Style Tables?
  10. How Do I Position Elements Precisely on the Page?
  11. Are There Any Guidelines for Basic Page Layout?
  12. How Do I Create Styles for Printing?
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published