Solved

Problem Formatting Frames with CGI

Posted on 1998-02-10
5
178 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 your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 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

10 Experts available now in Live!

Get 1:1 Help Now