Sunday, August 10, 2008

10 usesul CSS trick much know

1. Reset browser defaults then reset the browser font size
2. Design centered horizontally (fixed width)
3. Controlling position:absolute, relatively
4. Position an element center screen
5. Global rules that can be re-used
6. IE6 double margin on floated elements
7. Simple navigation bar
8. Table-less contact form
9. Footer hooked to browser bottom
10. Multiple classes applied to one element

More info, see this: Article