O'Reilly logo

Sams Teach Yourself HTML and CSS in 24 Hours by Michael Morrison, Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 4. Understanding Cascading Style Sheets

In the previous hour, you learned the basics of HTML and XHTML, including how to set up a skeletal HTML template for all your web content. In this hour, you will learn how to fine-tune the display of your web content using cascading style sheets(CSS). The concept behind style sheets is simple: You create a style sheet document that specifies the fonts, colors, spacing, and other characteristics that establish a unique look for a web site. You then link every page that should have that look to the style sheet, instead of specifying ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required