I’d be fascinated to see the build-ins you always incorporate into your designs, your “template fixes,” so to speak.
It goes something like this train of thought.
Control all margins and padding on all the elements used.
Make sure that defaults are set correctly (especially for lists)
“What is this div going to contain”?
If it contains more than simple text and has borders and background colours then it must have a “layout”.
“is it the first,last or only float in sequence”?
If so add display:inline.
"does it have padding,borders and width"?
Do the box model hacks for Ie5.x (if client requires it)
“Is the element absolutely placed”?
Make sure it is at the end of the current stacking context and after the static content and if it is after floats then add clear:both to the absolute element also.
Is the element floated right in a left floating widthless container ?
Don’t do it that way as it will break in IE7 and under - change the design to workaround it.
“Are the elements sized in percentages”?
Allow breathing space for rounding errors.
Do elements like a menu fit exactly across the screen with little space for breathing?
Add white-space: nowrap or hide the overflow or use another design.
Can the page be sectioned into columns and rows nicely?
Do it
Is this div really necessary?
No - delete it.
Check it in half a dozen browsers at every code addition.
Validate html and CSS regularly while developing and not at the end.
Something like that 