A friend of mine asked for tutorials and resources for cascading style sheets (CSS), so I complied the following list of sites. The most comprehensive place to start is by reviewing the CSS specification (current version is 2.1). The spec is published and maintained by the World Wide Web Consorium (W3C), which also a tutorial on CSS.
W3Schools is a good site with excellent tutorials for HTML, CSS, XHTML, among others. I learned HTML/CSS there — and then had to unlearn some things. W3Schools is geared towards coding towards Internet Explorer, which doesn’t necessarily match the actual W3C specs.
An easy way to play with CSS is to start with standards-compliant templates that work in a wide range of browsers.
- Two column templates
- Three column “holy grail” template
- Examples and templates, plus some good info on the box-model hack (thanks IE)
- Box Lesson for easy to use templates
- Layout Reservoir from Blue Robot