...

View Full Version : Trying to figure out frames.



mungk
12-13-2005, 08:34 PM
Hi I'd be so glad if someone could look at my frames and tell me why the bottom frame overlaps the top frame when I resize the browser vertically. Really i'd like for the frames to stay in place. I'd like to also note that this only happens with windows explorer meanwhile it views correctly in mac safari.

here's the link

http://70.88.154.154/mdrp/about_us.htm

code >>>

<frameset cols="*,800,*" border="0" framespacing="0" frameborder="NO">
<frame src="blank.htm" name="leftSpacer" noresize scrolling="NO" frameborder="NO" marginwidth="0" marginheight="0">
<frameset rows="681,6" cols="*" framespacing="0" frameborder="NO" border="0">
<frameset rows="108,490,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="top.htm" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="150,*" framespacing="0" frameborder="NO" border="0">
<frame src="about_us_menu.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="about_us_main.htm" name="mainFrame">
</frameset>
<frame src="bottom_menu.htm" name="bottomMenu" noresize marginheight="0" marginwidth="0" scrolling="NO" frameborder="NO">
</frameset>
<frame src="blank.htm" name="bottomSpacer" noresize marginwidth="0" marginheight="0" scrolling="NO" frameborder="NO">
</frameset>
<frame src="blank.htm" name="rightSpacer" noresize marginwidth="0" marginheight="0" scrolling="NO" frameborder="NO">
</frameset>



Thanks in advance.

ronaldb66
12-14-2005, 08:28 AM
Are you absolutely sure you need frames for this? Cause I will guarantee you that this will never, ever render in any predictable manner across various browsers and window sizes.
Although your attempt to use framesets to create a fixed-width, centered layout is... interesting, I strongly recommend abandoning the frames approach.


By the way, if you change:

<frameset rows="108,490,*" cols="*" frameborder="NO" border="0" framespacing="0"> to

<frameset rows="108,*,100" cols="*" frameborder="NO" border="0" framespacing="0"> (or whatever hight you want the bottom nav frame to be), things will probably fit a little better.

mungk
12-14-2005, 08:54 PM
I used frames because the client wanted to make the site navigatible via text anchors and also wanted the site to be printer friendly. Frames seemed like the natural choice.

So far the frames view correctly in safari, explorer (except for the vertical overlap) and firefox.

Any ideas?

mungk
12-14-2005, 09:09 PM
I changed the code to what you suggested which fixed the vertical overlapping however it makes it so that the main body gets extended past the left navigation when the browser size increases. Really i'd like to just lock all the frames in place so that they don't move.

ronaldb66
12-15-2005, 08:31 AM
because the client wanted to make the site navigatible via text anchors... You don't need frames for that;
... and also wanted the site to be printer friendly If anything, framed sites are NOT printer-friendly!


Really i'd like to just lock all the frames in place so that they don't move. If there is one single reason that sort of justifies the use of frames is that they will always adapt to the available window size; if you want a fixed width, centered layout, I can only repeat my advice: do away with frames.

If you need pointers to construct such a site, please bring all your questions here, but believe me when I say that frames are rarely used anymore these days, and for very good reasons.

ecntrc
12-15-2005, 11:17 AM
yeah get rid of the frames, from now on ill be making all clients sites in photoshop and slicing or tables all the way .. anything BUT frames.. too hard when being searched in a search engine only the page shows and not the frames which usually carrys the navigation..

mungk
12-15-2005, 03:13 PM
Believe me frames have been a huge headache from the start, however I should have mentioned that in addition to the fixed width, they also wanted a fixed length. They don't mind that the body of the site is actually one huge long html page as long as it looks like a new page every time a nav button is pressed going to a new anchor point.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum