Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 08:12 PM
Matthias Caspary
Guest
 
Posts: n/a
Default 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
  #2  
Old July 20th, 2005, 08:12 PM
Andreas Prilop
Guest
 
Posts: n/a
Default Re: browser specific problem with frames

On 30 Jun 2004, Matthias Caspary wrote:
[color=blue]
> can anyone imagine why the following site[/color]

You forgot the URL.
[color=blue]
> <title>Untitled Document</title>[/color]

Great! :-/
[color=blue]
> <noframes><body bgcolor="#FFFFFF">
> </body></noframes>[/color]

Great! :-/

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

  #3  
Old July 20th, 2005, 08:12 PM
Steve Pugh
Guest
 
Posts: n/a
Default Re: browser specific problem with frames

m.caspary@bringe.com (Matthias Caspary) wrote:
[color=blue]
>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.[/color]

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.
[color=blue]
><html>
><head>
><title>Untitled Document</title>[/color]

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
[color=blue]
><frameset rows="54,680*" frameborder="NO" border="0" framespacing="0"
>cols="*">[/color]

rows="54,680*" is exactly equivalent to rows="54,*" and cols="*" is
redundent.
[color=blue]
> <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="*">[/color]

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.
[color=blue]
> <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>[/color]

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>
[color=blue]
><noframes><body bgcolor="#FFFFFF">
>
></body></noframes>[/color]

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 <steve@pugh.net> <http://steve.pugh.net/>
  #4  
Old July 20th, 2005, 08:12 PM
Kris
Guest
 
Posts: n/a
Default Re: browser specific problem with frames

In article <Pine.GSO.4.44.0406301519290.842-100000@s5b003>,
Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote:
[color=blue][color=green]
> > <noframes><body bgcolor="#FFFFFF">
> > </body></noframes>[/color]
>
> Great! :-/[/color]

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

--
Kris
<kristiaan@xs4all.netherlands> (nl)
  #5  
Old July 20th, 2005, 08:15 PM
DU
Guest
 
Posts: n/a
Default Re: browser specific problem with frames

Matthias Caspary wrote:
[color=blue]
> 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[/color]


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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles