Wednesday, September 27th, 2006p>Ben Henick has got a high level editorial on CSS in 2006 (still!).
The cries of frustration I hear from other developers about CSS are only an echo of the ones I made for years. As a result I like to think that I can relate, and Iâ€™m writing to convey the most important lessons Iâ€™ve learned so far.
1. Everything you know is wrongâ€¦ sort of
2. Itâ€™s not going to look exactly the same everywhere unless youâ€™re willing to face some griefâ€¦ and possibly not even then
3. You will be forced to choose between the ideal and the practicable
4. Perfection is not when thereâ€™s nothing to add, but when thereâ€™s nothing to take away
5. Some sites are steaming heaps of edge cases
6. Longer lead times are inevitable
7. Coherent and sensible source order is the best of Good Things
8. Descendant selectors are the beginning and end of genuinely powerful CSS rules
9. In the real world, stylesheet hacks will get your project across the finish line
10. Working around rendering bugs is like playing Whack-a-Mole
11. When youâ€™re drowning in CSS layout problems, make sure of the width and height of the water, float without putting up a struggle, and get clear of the problems
12. Background images will make the difference between the plain and the tastefully embellished
Posted by Dion Almaer at 1:17 am