Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Missing Text When Printing Page With <iframe> Using Verticle Scroll.... Is There A Workaround???

Reply
Thread Tools

Missing Text When Printing Page With <iframe> Using Verticle Scroll.... Is There A Workaround???

 
 
Philip Ronan
Guest
Posts: n/a
 
      01-30-2006
Fred wrote:

> 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


Don't futz around with this too much. Since this agreement is (presumably) a
legally binding document, you are only asking for trouble if you present it
in dangerously inaccessible ways like this. I suggest you simply provide a
"Printable version" link that points to a plain HTML page containing the
whole document in legible type. Don't use frames.

--
philronan [@] blueyonder [dot] co [dot] uk

 
Reply With Quote
 
 
 
 
BootNic
Guest
Posts: n/a
 
      01-30-2006
> "Fred" <> wrote:
> news:... .
>
> 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*

 
Reply With Quote
 
 
 
 
Fred
Guest
Posts: n/a
 
      01-31-2006
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
 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
verticle alignment of text to bottom of (printed) page Jim in Arizona ASP .Net 2 06-07-2008 10:23 AM
Datagrid Verticle Header is this possible? How? Roger ASP .Net 4 03-23-2005 06:13 PM
Datagrid Verticle Header is this possible? How? Roger ASP .Net Web Controls 3 03-23-2005 05:37 PM
Radeon 9600 - verticle lines on TV Out Tiny Tim Computer Support 26 03-21-2005 01:16 PM
thin verticle white line appears on printed picture Brian Digital Photography 6 10-11-2004 02:31 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57