473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

browser specific problem with frames

Hi all,

can anyone imagine why the following site shows up correctly in
Mozilla Firefox 0.8 and Netscape 4.5, but not in IE6? In IE6, the
"main" frame seems to have disappeared.

###

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>

<frameset rows="54,680*" frameborder="NO" border="0" framespacing="0"
cols="*">
<frame name="blau" scrolling="NO" noresize src="../../blau.htm"
marginwidth="0" marginheight="0" frameborder="NO" >
<frameset rows="40,637*" frameborder="NO" border="0"
framespacing="0" cols="*">
<frame name="grau" scrolling="NO" noresize src="grau.htm"
frameborder="NO" marginwidth="0" marginheight="0" >
<frameset rows="617*,17" frameborder="NO" border="0"
framespacing="0" cols="*">
<frame name="main" scrolling="YES" frameborder="NO"
marginwidth="0" marginheight="0" src="Impressumdt.htm">
<frame name="unten" scrolling="NO" noresize
src="../../unten.htm" frameborder="NO" marginwidth="0"
marginheight="0">

</frameset>
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">

</body></noframes>
</html>

###

Matthias
Jul 20 '05 #1
4 2335
On 30 Jun 2004, Matthias Caspary wrote:
can anyone imagine why the following site
You forgot the URL.
<title>Untitled Document</title>
Great! :-/
<noframes><body bgcolor="#FFFFFF">
</body></noframes>


Great! :-/

--
Top-posting.
What's the most irritating thing on Usenet?

Jul 20 '05 #2
m.*******@bringe.com (Matthias Caspary) wrote:
can anyone imagine why the following site shows up correctly in
Mozilla Firefox 0.8 and Netscape 4.5, but not in IE6? In IE6, the
"main" frame seems to have disappeared.
A URL would help. It's quicker than cutting and pasting code and
allows us to see other possible causes of problems such as HTTP
headers.
<html>
<head>
<title>Untitled Document</title>
Not a very useful title. How will your site stand out from the
4,200,000 sites with the same title?
http://www.google.com/search?q=Untitled+Document
<frameset rows="54,680*" frameborder="NO" border="0" framespacing="0"
cols="*">
rows="54,680*" is exactly equivalent to rows="54,*" and cols="*" is
redundent.
<frame name="blau" scrolling="NO" noresize src="../../blau.htm"
marginwidth="0" marginheight="0" frameborder="NO" >
<frameset rows="40,637*" frameborder="NO" border="0"
framespacing="0" cols="*">
<frame name="grau" scrolling="NO" noresize src="grau.htm"
frameborder="NO" marginwidth="0" marginheight="0" >
<frameset rows="617*,17" frameborder="NO" border="0"
framespacing="0" cols="*">
So this is the frame that vanishes in IE6.

Changing rows="617*,17" to rows="*,17" makes it reappear.

Browsers are stupid, if you give them code that is more complicated
than it needs to be they will do stupid things.
<frame name="main" scrolling="YES" frameborder="NO"
marginwidth="0" marginheight="0" src="Impressumdt.htm">
<frame name="unten" scrolling="NO" noresize
src="../../unten.htm" frameborder="NO" marginwidth="0"
marginheight="0">

</frameset>
</frameset>
</frameset>
So you want four frames one on top of the other with heights, starting
from the top, of 54 pixels, 40 pixels, undefined and 17 pixels.

Why not just use this:

<frameset rows="54,40,*,17">
<frame name="blau" src="../../blau.htm">
<frame name="grau" src="grau.htm">
<frame name="main" src="Impressumdt.htm">
<frame name="unten" src="../../unten.htm">
</frameset>
<noframes><body bgcolor="#FFFFFF">

</body></noframes>


Not very useful content.

Of course, frames are evil and should be avoided (at least) 999 times
out of 1000.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #3
In article <Pine.GSO.4.44.0406301519290.842-100000@s5b003>,
Andreas Prilop <nh******@rrzn-user.uni-hannover.de> wrote:
<noframes><body bgcolor="#FFFFFF">
</body></noframes>


Great! :-/


They should have called it <nocontent></nocontent>.

--
Kris
<kr*******@xs4all.netherlands> (nl)
Jul 20 '05 #4
DU
Matthias Caspary wrote:
Hi all,

can anyone imagine why the following site shows up correctly in
Mozilla Firefox 0.8 and Netscape 4.5, but not in IE6? In IE6, the
"main" frame seems to have disappeared.

###

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>

<frameset rows="54,680*" frameborder="NO" border="0" framespacing="0"
cols="*">
<frame name="blau" scrolling="NO" noresize src="../../blau.htm"
marginwidth="0" marginheight="0" frameborder="NO" >
<frameset rows="40,637*" frameborder="NO" border="0"
framespacing="0" cols="*">
<frame name="grau" scrolling="NO" noresize src="grau.htm"
frameborder="NO" marginwidth="0" marginheight="0" >
<frameset rows="617*,17" frameborder="NO" border="0"
framespacing="0" cols="*">
<frame name="main" scrolling="YES" frameborder="NO"
marginwidth="0" marginheight="0" src="Impressumdt.htm">
<frame name="unten" scrolling="NO" noresize
src="../../unten.htm" frameborder="NO" marginwidth="0"
marginheight="0">

</frameset>
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">

</body></noframes>
</html>

###

Matthias

You have obvious markup problems; just validate your document and only
use necessary attributes. You definitively don't know how to use the "*"
character when defining values in your rows attributes.
Finally, I would avoid nested frames and nested framesets: that can only
create more maintenance problems and usability and accessibility burdens
for your visitors.

DU
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Javier | last post by:
Hello, I'm very new in this forum and as I have the following problem, the website is in http://new.vanara.com ----------------------------------------------------------------------------...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
17
by: neerolyte | last post by:
how would i go about setting a cookie in javascript that can be read in javascript on the next page load, but will NOT be passed to the server?
9
by: Billy | last post by:
Hi, I was wondering if it is possible to change the browsers text settings. ie. in internet explorer you can change the text size by going to: View -> Text Size Is there a way to overide a...
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
5
by: Dfenestr8 | last post by:
Hi. I'm designing a site, and I'm trying find a way of browsing it without using frames, so I can test the <noframes> </noframes> tags. I use a linux mandrake 10 system, with KDE 3.2. Is there...
14
by: Gérard Talbot | last post by:
I personally disagree with the Viewable in Any browser campain. The site is frankly outdated, seems to be no longer maitained, has several recommendations that don't make a lot of sense anymore. In...
1
by: Dave Harrington | last post by:
Greetings all - We have a client who uses Lotus Notes as their default e-mail. The version of Lotus they use can run internet explorer windows within Lotus. I'd like to find if they are...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.