Thu 14 Oct 2004
I recently had to help someone at work with an intranet that they had been instructed to build. They came to me with a (table based) layout that I promptly turned into CSS looking close enough to how it was. as I was explaining to him how/why to do things I thought about things that I frequently take forgranted now. So here they are: The top ten things (I think) a newbie should learn about CSS
- Semantic HTML
- Selectors
- Inheritance
- Units
- The Box Model
- Positioning
- Floats
- Hacks (a necessary evil)
- IDs vs. Classes
- Alternative media