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/>