Solved

Problem Formatting Frames with CGI

Posted on 1998-02-10
5
188 Views
Last Modified: 2013-12-25
It is sort of cryptic what I am trying to do, so I will explain in the best I can.  What I am trying to do is generate the original html page with the <Frameset....><Frame...> tages etc and the sources for the frames with a CGI program. (Essentially, everything is being generated with a CGI program with frames). What I am experiencing is that the MarginWidth and MarginHeight does not seem to work. (Everything else works, FRAMEBORDER="0" FRAMESPACING="0" BORDER=NO)  Netscape uses the default Margin values when these generated pages are loaded.  I need the MarginWidth=0 and MarginHeight=0, else the page looks terrible.  If I minimize netscape and then maximize it again the page is displayed correctly, this is the only solution I have come up with.  Has anyone else experienced this or know of a work around, or what I am doing wrong? Can frames like this be generated by a CGI program or does it have to be a static page that Netscape loads first in order to correctly format the page?

Thanx in advance!
0
Comment
Question by:delvin
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:icd
ID: 1831976
In theory the client (your browser) does not know if the page being served is coming from a static html document or a cgi generated one so if there is any difference it must be due to a difference in the output of the two. (or perhaps a timing problem).

As an experiment, take each frame of your document and do a 'save as' locally. You may need to change some of the hrefs but you should then have a complete set of frames and framesets held locally on your pc.

See if you get the same problem with this local set of 'static' documents.

Is there a URL where we can see this behavour for ourselves?

0
 
LVL 5

Accepted Solution

by:
julio011597 earned 100 total points
ID: 1831977
As icd says, this has nothing to do with CGI itself.

Now, i guess this is what you need: in the FRAMESET tag add the BORDER attribute, i.e.:

<FRAMESET ROWS="..." BORDER="0">

This solved the problem for me, on Communicator.

HTH, julio
0
 

Author Comment

by:delvin
ID: 1831978
My applogies for taking so long, too many things happening.  

Unfortunately, your suggestion did not work. :(  I created a small javascript that seems to do the trick.  I appreciate your effort, however.
0
 
LVL 5

Expert Comment

by:julio011597
ID: 1831979
Would you mind showing your solution? there's always something new to learn!
0
 

Author Comment

by:delvin
ID: 1831980
I have just set up a domain and will continue with the account next week.  I will post the URL here and adjust the page so that you can see the problem.  I may be something in Netscape 3.02 as well, so you may not see it if your using 4.0x, I don't know.

In any case, I will let you know the URL when it becomes avaliable.

 
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

828 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