I took a page whose DTD was HTML4 Transitional and changed the doctype to and extra space appeared between the h1 and div beneath it. I
Have you applied a CSS reset http://meyerweb.com/eric/tools/css/reset/ to your css before you start applying any other css effects?