Click to See Complete Forum and Search --> : Frames


Ken
11-17-2003, 01:47 AM
I'm using frames to maintain a toolbar on the left-hand side of my site. When I minimize the browser to about half the screen or less, the main frame (frame on rt side) overlaps the left-hand frame (toolbar). I know there must be a way to lock this down so it won't allow overlap. Any thoughts?

-Thanks! Ken

PS
Here's my index page code:
<html>

<frameset rows="100,*" border=0>

<frame src="Header4.9.htm" name="Right Upper Frame Page" marginwidth="1" marginheight="1" scrolling=no>

<frameset cols="13%,87%">

<frame src="Nav Bar1.htm" name="Left Frame Page" marginwidth="0" marginheight="0" scrolling=no>

<frame src="Home.htm" name="Right Lower Frame Page" scrolling=yes>

</frameset>

</frameset>

</html>

Lotus
11-17-2003, 02:19 AM
This is actually not overlapping at all. The frameset's columns are set to 13%,87%. This makes one of the frames 13% of the width of the screen at all times, and the other one 87%. When you make your browser window smaller, the width of the screen also becomes smaller, thus 13% of the screen is smaller. It's nothing you can do to prevent this, although making the window not resizeable might work.

Pittimann
11-17-2003, 08:12 AM
Hi Ken!

You can avoid relative values (percent). Instead of creating a frameset like:
<frameset cols="13%,87%"> make it
<frameset cols="x,*">

You have to replace "x" by the number of pixels your toolbar frame actually needs (the "*" stands for the rest of the available width)...

Cheers - Pit

Ken
11-17-2003, 11:17 AM
Lotus - You are correct, it's really not an overlap issue...

Pit - I tried your suggestion and it worked great.

Thanks a bunch.

Ken

soccer362001
11-17-2003, 02:53 PM
Its acually better if you use %'s that way it will look better on different screen resolutions

soccer362001
11-17-2003, 02:55 PM
Even better than that would be to use CSS for layout.