View Full Version : HTML Frames Question

Red Barchetta
07-25-2009, 07:23 PM
Yeah, yeah, I know, I shouldn't use frames. I'm using them simply for a quick mock-up to achieve a cool little scrolling effect, with the lower window's content seemingly being overlapped by the frame above.

Anyway, the problem I'm running into is that there's a gap between above the lower frame's content; this breaks the illusion of the overlapping frame above because the background color shows through the gap.

Hopefully that made sense; basically, is there someway to push the lower frame's content to the very top of the frame?

Red Barchetta
07-25-2009, 07:34 PM
Nevermind! Just re-discovered this little bit of CSS, and it solved my problem!

html, body {
margin: 0;
padding: 0;