Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trying to figure out frames.

    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.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Why frames?

    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.

    Edit:
    By the way, if you change:
    Code:
    <frameset rows="108,490,*" cols="*" frameborder="NO" border="0" framespacing="0">
    to
    Code:
    <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.
    Last edited by ronaldb66; 12-14-2005 at 09:33 AM.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #4
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Again: why?

    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.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #6
    Regular Coder
    Join Date
    Jun 2003
    Location
    hawaii.washington state
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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..

  • #7
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •