Solved

Difficulties in using frames and cross browser compatibility.

Posted on 2001-09-17
6
310 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordpress url rewriting plugin 5 42
Bootstrap 3 application structure 7 44
html form to write data to csv 24 95
Enter key on html form page 11 44
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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 to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

930 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

10 Experts available now in Live!

Get 1:1 Help Now