By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,739 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,739 IT Pros & Developers. It's quick & easy.

browser specific problem with frames

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.