...

View Full Version : Help with a frameset overflow problem



lkelly
12-07-2006, 10:20 PM
Due to an antiquated design, we are forced to use Frames for part of a site. I'm trying to figure out how to get scroll bars to show up for a frame only when we need them (we have some overflow). I don't want scroll bars or any sort of additional padding introduced in anticipation of them if the frame doesn't need it. I've tried putting the content in a <div> with overflow: auto as part of the style. That seems to work fine if I open the frame content in a window by itself, but not when it is part of the frameset.

Examples...

Frameset:
http://dev.admin.vcall.com/Lane/frameset.html

Right hand frame content (which produces the scroll bar effect like I want if loaded by itself in the browser):
http://dev.admin.vcall.com/Lane/right.html

If you make the window small enough you'll see what I mean.

Thanks in advance for any help. Eventually we want to move away from frames, but that's not possible at the moment.

Arbitrator
12-08-2006, 03:00 AM
My guess is that you should get rid of the red in this code: <frame Ö scrolling="no">.

By the way, the HTML 4 Transitional DTD is not the correct DTD (http://www.w3.org/QA/2002/04/valid-dtd-list.html) to use with a frameset document. Itís <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum