The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2009, 06:23 PM
Red Barchetta Red Barchetta is offline
Guest
 
Join Date: May 2006
HTML Frames Question

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?
Reply With Quote
Advertisements  
  #2  
Old 07-25-2009, 06:34 PM
Red Barchetta Red Barchetta is offline
Guest
 
Join Date: May 2006
Nevermind! Just re-discovered this little bit of CSS, and it solved my problem!

html, body {
margin: 0;
padding: 0;
}
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.