|
Posted by BootNic on 01/30/06 23:20
> "Fred" <x@x.com> wrote:
> news:c2vut19qk6fgmkagc5se8i4kni15iklghm@4ax.com....
>
> I've run into a problem. I'm using <iframes> (yuck!) that contains a
> very long scrolling document (it's a massive agreement) within a
> HTML document. In order to see the entire document the user must
> scroll the <iframe> vertically.
> If the user tries to print this page the document inside <iframes>
> does not print 100%. For example if you click "print preview" in
> both FF and IE you will only see 10% of the document because thats
> all that is shown within the <iframe> at any given scroll point.
>
> Is there a way to print 100% of the text using a method similar to
> this? Frames don't seem to work and I also tried pasting all the
> text inside of a <textarea> and that too did not work.
>
> Is there a way to emulate <iframes> with CSS? Is there any kind of
> simple workaround for this issue?
>
> Thanks for the help guys
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css" media="screen">
#chr{
height:300px;
border: solid 1px black;
padding:0.5em;
overflow: auto;
margin: auto;
}
</style>
<style type="text/css" media="print">
#chr{
font-size:14pt;
font-family: 'comic sans ms';
}
</style>
</head>
<body>
<div id="chr">
<!-- content goes here -->
</div>
</body>
</html>
--
BootNic Monday, January 30, 2006 4:19 PM
The world is very different now. For man holds in his mortal hands the power to abolish all forms of human poverty, and all forms of human life.
*John Fitzgerald Kennedy, Inaugural Address*
Navigation:
[Reply to this message]
|