Solved

Difficulties in using frames and cross browser compatibility.

Posted on 2001-09-17
6
306 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
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

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

760 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

19 Experts available now in Live!

Get 1:1 Help Now