?
Solved

Difficulties in using frames and cross browser compatibility.

Posted on 2001-09-17
6
Medium Priority
?
337 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 800 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

850 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