Solved

Difficulties in using frames and cross browser compatibility.

Posted on 2001-09-17
6
313 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
  • 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

816 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

7 Experts available now in Live!

Get 1:1 Help Now