It so nice to finally figure something out. This was a question we wrestled with here about a year ago, and we were stumped.
Making H1 tags that don't put extra margin between the heading and the following paragraph copy.
Netscape 4.x (as is often the case, right?)
Netscape 4.x gives the desired result if the H1 tag has a zero margin-bottom and the following P tag has a NEGATIVE margin-top. The CSS file looks like this:
Yes, it works in Netscape 4.x, but with these style declarations, all the other browsers will OVERLAP the paragraph and the heading. So I used a simple test -- if (document.layers) -- to serve Netscape 4.x its own stylesheet, with the styles you see above. Every other browser gets:
I have tested this on Win98 with Explorer 6.0, Netscape 4.77 and 6.1, and Opera 5.12 (with all 5 spoofs). I would appreciate reports from any Mac tests.
H1 test page [pages.prodigy.net]