After extensivly trying to get the above code to work this weekend, I gave up and decided to just what you entered alone (rather than trying to enter it in mine). I am still having the same trouble, I have posted the files at
The name of the 5 files are
contents.htm
index.htm
menu.htm
print.css
screen.css
and they are all in that directory. If you to go Print Preview... Well I have no idea why it looks the way it does. I started with something small like trying to get the scrollbar to go away under print, but couldn't get that either.
I read up on CSS and saw that I was calling styles in two different ways, so I simply deleted all those styles just to make sure there were no conflicts.
index.htm is just a simple 1row, 2 cell table; first cell is menu.htm & 2nd cell is contents.htm
I referenced both CSS lines in all 3 htm files right after the HEAD.
This is what I've reduced the code down to:
screen.css
Body {background-color: #ffffff; background-image: none}
#menu{scrolling="auto"}
#cont{width:100%;height:100%;scrolling="auto"}
print.css
Body {background-color: #ffffff; background-image: none}
#menu{display:none}
#cont{width:100%;scrolling="no"}
index.htm
<head><title>Test</title></head>
<LINK rel="stylesheet" type"text/css" href="print.css" media="print">
<LINK rel="stylesheet" type"text/css" href="screen.css" media="screen">
<body>
<table width=100% height=100%>
<tr>
<td>
<iframe id="menu" name="menu" framespacing=0 marginwidth=0 marginheight=0 width="120px" height="100%" frameborder=0 src="menu.htm" onmouseout="focus('cont')"></iframe>
</td><td>
<iframe id="cont" name="cont" framespacing=0 marginwidth=0 marginheight=0 frameborder=0 src="contents.htm"></iframe>
</td></tr>
</table>
</body>
</html>
menu.htm
<HTML>
<HEAD>
</HEAD>
<LINK rel="stylesheet" type"text/css" href="print.css" media="print">
<LINK rel="stylesheet" type"text/css" href="screen.css" media="screen">
<BODY>
<BR><BR><BR><BR><BR>
<A HREF="
TARGET="main">668.41</a>
<BR><BR><BR><BR><BR>5 lines
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>10 lines
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>15 lines
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>20 lines
</BODY>
</HTML>
contents.htm
<HTML>
<HEAD>
</HEAD>
<LINK rel="stylesheet" type"text/css" href="print.css" media="print">
<LINK rel="stylesheet" type"text/css" href="screen.css" media="screen">
<BODY>
<TABLE WIDTH="100%" HEIGHT="40" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR HEIGHT="20">
<TD bgcolor="000000" nowrap></TD>
<TD bgcolor="000000" nowrap></TD>
</TR>
<TR HEIGHT="20">
<TD WIDTH=350 ALIGN=LEFTT><font face="verdana" size="2" color="000000" nowrap>
<A HREF="main.htm">Main</A> |
<A HREF="contact.htm">Contact Us</A> |
<A HREF="about.htm">About</A> |
<A HREF="help.htm">Help</A>
</TD>
<TD bgcolor="000000" width=500><IMG SRC="images/curve.gif" align="left" border="0" hspace="0 width="50" height="20" nowrap></TD>
</TR>
</TABLE>
<font face="verdana" size="2" color="000000"><BR><BR>
Contents.htm
test scrolling<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>BR<BR>
test scrolling<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>BR<BR>
test scrolling<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>BR<BR>
test scrolling<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>BR<BR>
test scrolling<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>BR<BR>
</BODY>
</HTML>
That's it; I know it's long & sloppy (tried to clean it up).
-Nate