dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: cross browser frames

  1. #1
    Join Date
    Dec 2002
    Posts
    30

    cross browser frames

    I haven't seen any information on this problem anywhere so hopefuly this post will call attention to it. I'm building a basic frameset but I can't seem to get the frames to lay out the same on IE and NS. I have set all of the margins and borders in the frames and bodies to 0 but that doesn't seem to be the problem. Interestingly, but not surprisingly, Netscape doesn't respond well to minor adjustments in the frame size. It seems to only adjust in 5 pixel increment. For example, 200-204 set the frame to the exact same size. Has anyone else noticed this behavior? Is there an elegant way to solve this problem?

  2. #2
    Join Date
    Dec 2002
    Location
    Lake Havasu City, Arizona
    Posts
    527
    IE makes room for the scrollbar in the screen size even if there is none to be had. It is narrower than in NS. Maybe this is what you see.
    Make a blank page with a color background and see.

    <html>
    <head>
    <title></title>
    </head>
    <body bgcolor="#000000">
    </body>
    </html>

    If there is a scroll then NS makes the room. So the trick seems to be to make the page just a bit more in height for a slight scroll since the space is there anyway.

  3. #3
    Join Date
    Nov 2002
    Posts
    984

    Re: cross browser frames

    Originally posted by bisqui
    I'm building a basic frameset but I can't seem to get the frames to lay out the same on IE and NS.
    Mayby you should link to your page so we can spot and help you correct possible errors in your code?

  4. #4
    Join Date
    Dec 2002
    Posts
    30
    found the answer. jdavia was on the right track...

    http://www.xs4all.nl/~ppk/tests/framesnn.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles