Solved

Difficulties in using frames and cross browser compatibility.

Posted on 2001-09-17
6
315 Views
Last Modified: 2008-03-17
While a computer geek at heart, I have never done much work in HTML until recently. After having a PoS page (the first of many) out there with no content, I suddenly became possed and got it all working.

...well most of it.

I am using *cough*frames*cough*. I know they are evil, naughty, not supported in text browsers, the cause of mad cow disease, etc. But in the same fashion as the kid that made a site with an incredibly annoying .midi file, I like it this way.

The page is fairly graphic intensive (around 100KB) and I found frames to be the quickest way to improve new page views and browsing on the site.

enough intro: http://www.geocities.com/brotherhobbes/

HEY, they are free, they provide decent web space, and the lil' thing in the corner isn't THAT bad. so shush.

What I need from all of you is how to get the page looking well under most browsers. Example, Netscape and it's Mozilla offspring show my page with a God awful gap between frames. This is my main problem and if anyone can explain to me how to KILL that white space in NS, the points are yours.

I would appreciate any comments and criticism, however harsh they are. The page is, for the most part, an experiment.

*NOTE* I KNOW IV is NOT working.
0
Comment
Question by:MrHobbes
[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
  • 4
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
a.marsh earned 200 total points
ID: 6487400
Try changing your framsets to:

<frameset rows="204,*" border="0" frameborder="no" framespacing="0">
<frame src="nav.html" name="nav" marginwidth="0" marginheight="0" scrolling="no" noresize>
<frameset cols="143,*">
<frame src="left.html" name="left" marginwidth="0" marginheight="0" scrolling="no" noresize>
<frame src="home.html" name="home" marginwidth="0" marginheight="0" noresize>
</frameset>

and the key to Netscape is to make sure you also specify the marginheight and marginwidth in the <body> tag of each page.

:o)

Ant
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6487404
Sorry, make that:

<frameset rows="204,*" border="0" frameborder="no" framespacing="0">
<frame src="nav.html" name="nav" marginwidth="0" marginheight="0" scrolling="no" noresize>
<frameset cols="143,*"  border="0" frameborder="no" framespacing="0">
<frame src="left.html" name="left" marginwidth="0" marginheight="0" scrolling="no" noresize>
<frame src="home.html" name="home" marginwidth="0" marginheight="0" noresize>
</frameset>
</frameset>


You also had a closing <frameset> tag missing. :o)

Ant
0
 
LVL 2

Author Comment

by:MrHobbes
ID: 6490084
oh god, i'm a fool. had the frameset attribs in the frame line. DOH.

actually, i did have the 2nd </frameset> tag, it's right before the </html>. if you look again... i was under the impression that the noframes tags needed to be IN the frameset. is that incorrect? if it's wrong i can move the </frameset> tag up some on the page.

-----

my body tag:
<body bgcolor="#101C20" background="timepap.jpg" link="#F8F8D2" vlink="#CC6633" alink="#CC6633" text="#95C8A4" bgproperties="fixed" topmargin=0 leftmargin=5 marginwidth=0 marginheight=0>

good? i know bgproperties="fixed" only works for IE, but i don't know enough CSS to make a style sheet yet. when i get it all figured out i'll use the 'proper' CSS one.

-----

i'm going to upload an updated index.html using your frameset attribs. let me know how it's looking. any harsh comments for meh?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 15

Expert Comment

by:a.marsh
ID: 6490088
The <noframes></noframes should be outside of any framesets.

:o)

Ant
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6490089
Seems to have done the trick!

:o)

Ant
0
 
LVL 2

Author Comment

by:MrHobbes
ID: 6492171
good enough for me!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

696 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