Solved

Frame problem between IE4 and Nav4

Posted on 1998-08-12
9
265 Views
Last Modified: 2013-12-25
If youd be so kind as to visit www.chilcote.com/new youll see that while in Nav4 the bottom frame eats into the top frame by 4-5 pixels...this doesnt happen in IE4.  If someone would be so kind as to help me remedy the situation within Nav4, it would be appreciated.
0
Comment
Question by:eason
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 10

Expert Comment

by:MasseyM
Comment Utility
I looked at it in NS4.05 & IE4.0 and nothing looked abnormal... I could not see a 4-5 pixel difference.. It looked okay to me.. However, in the IE4.0 version, the background of the lower frame is silver not white like in NS...


0
 

Expert Comment

by:awilkins
Comment Utility
(Duplicate of my answer to the same question in the HTML area)

I see about a 5 pixel border in NS4 -- I don't have IE so I can't compare.  However, the following alteration of your frame code will make it so that 5 pixels more of the top frame can be seen in NS.  If NS4 is the browser being used, it will make the top frame 95 pixels high.  Otherwise, the top frame will be 90 pixels high, as it now is.

    <html>

    <head>

    <title>Welcome to Chilcote Digital</title>
    <META NAME="description" CONTENT="Chilcote Digital provides only the finest in Webdevelopment,
    Hosting, and General PC Consulting.">
    <meta name="KEYWORDS" content="Chilcote, Chilcote Digital, Chilcote, Chilcote Digital, Chilcote, Chilcote
    Digital, Chilcote, Chilcote Digital, Chilcote, Chilcote Digital, Chilcote, Chilcote Digital, Chilcote, Chilcote Digital,
    webdesign, hosting, webdevelopment, consulting, northern, california, sonoma county,
    healdsburg,  webdesign, hosting, webdevelopment, consulting, northern, california, sonoma county,
    healdsburg,  webdesign, hosting, webdevelopment, consulting, northern, california, sonoma county,
    healdsburg, web, design, webdesign, webdevelopment, service, web, design, webdesign, webdevelopment,
    service,  web, design, webdesign, webdevelopment, service,  web, design, webdesign, webdevelopment,
    service,  web, design, webdesign, webdevelopment, service,  web, design, webdesign, webdevelopment,
    service,  web, design, webdesign, webdevelopment, service"

    <script language = "JavaScript">
    <!--
      NS4 = (document.layers) ? 1 : 0;
    // -->
    </script>

    </head>

    <!-- frames -->

    <script language="JavaScript">
    <!--
      if (NS4) {
        document.write("<frameset rows='95,*' frameborder='0' framespacing='0' border='0'>"   }
      else {
        document.write("<frameset rows='90,*' frameborder='0' framespacing='0' border='0'>"   }
      }
    // -->
    </script>
        <frame name="top" src="top.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"
    noresize>
        <frame name="main" src="main.html" marginwidth="0" marginheight="0" scrolling="vertical"
    frameborder="0" noresize>
    </frameset>

    </html>
0
 

Author Comment

by:eason
Comment Utility
In 800x600 everything appears fine, but in 1064x768, this is where the lower frame eats into the upper frame.
0
 
LVL 1

Expert Comment

by:dagon
Comment Utility
some search engines may exclude you for keyword spaming
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Expert Comment

by:awilkins
Comment Utility
I just copied the source code from the main frame site, keywords and all, before altering it to show a greater width in Netscape 4.
0
 

Expert Comment

by:awilkins
Comment Utility
height, sorry.
0
 
LVL 2

Expert Comment

by:Quixote
Comment Utility
awilkens' solution would work if the only problem were that N4 shrunk your frame by 5.  The real problem is that all versions of Netscape will shrink your frame by up to 1% of your window size, or they may even enlarge your frame by up to 0.5% of your window size.  Since the Netscape adjustment of your frame depends on the user's window size, you cannot predict or control it.  Which means you live with it.


Here's what I wrote to a friend who complained of the same thing:


Netscape estimates frame sizes.  If you specify a frameset of, say,
cols="100,*" then that first frame might be 95 pixels wide, or 103 pixels
wide, or just about anything in between.  Netscape makes frames fun that way.
What it's doing is converting your precise pixel widths into a percentage,
then reconverting back to pixels -- and rounding off the difference.

As a result here's what I do to do what you're attempting to do:

1) Put graphics in the background that match up with your graphics in the foreground.

2) Near the border, make sure your graphics have identifying lines/color that run
perpendicular to the frame border.  ie: if you are trangressing the border of
a row-frame, make sure your grpahics have vertical lines and whatnot.  Cols
get horizontal lines.

Anyway, there you go.  Check out http://www.kvetch.com/index.html and pick the
non-pop-up window version of the site.  Pay close attention to what is a
background graphic, what is a foreground graphic, and what direction they're
designed to cross over the frame borders.  Then resize your window and watch
it at work.




Sorry that's not a fix for you, but them's the breaks.  If this is the best info you get on the subject, though, I'll gladly repost as an answer.  :)
0
 

Author Comment

by:eason
Comment Utility
Ah, yes...Quix, please repost as answer.
0
 
LVL 2

Accepted Solution

by:
Quixote earned 150 total points
Comment Utility
The real problem is that all versions of Netscape will shrink your frame by up to 1% of your window size, or they may even enlarge your frame by up to 0.5% of your window size.  Since the Netscape adjustment of your frame depends on the user's window size, you cannot predict or control it.  Which means you live with it.


Here's what I wrote to a friend who complained of the same thing:


Netscape estimates frame sizes.  If you specify a frameset of, say,
cols="100,*" then that first frame might be 95 pixels wide, or 103 pixels
wide, or just about anything in between.  Netscape makes frames fun that way.
What it's doing is converting your precise pixel widths into a percentage,
then reconverting back to pixels -- and rounding off the difference. Explorer doesn't have this problem, since it converts everything
to pixels first off.

As a result here's what I do to do what you're attempting to do:

1) Put graphics in the background that match up with your graphics in the foreground.

2) Near the border, make sure your graphics have identifying lines/color that run
perpendicular to the frame border.  ie: if you are trangressing the border of
a row-frame, make sure your grpahics have vertical lines and whatnot.  Cols
get horizontal lines.

Anyway, there you go.  Check out http://www.kvetch.com/index.html and pick the
non-pop-up window version of the site.  Pay close attention to what is a
background graphic, what is a foreground graphic, and what direction they're
designed to cross over the frame borders.  Then resize your window and watch
it at work.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now