Solved

Problem Formatting Frames with CGI

Posted on 1998-02-10
5
180 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

867 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

12 Experts available now in Live!

Get 1:1 Help Now