Frames aren't a good idea! There are many reasons why you should not use frames.
Anyway, if you still want to use them, you may want to set a fixed width to the frames that you don't want to fill the screen. But you should have at least one frame to fill that empty space. That's how it works...