Solved

Problem Formatting Frames with CGI

Posted on 1998-02-10
5
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

726 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