Ashley Sheridan wrote:
On Thu, 2008-11-06 at 22:35 +0100, Frank Arensmeier wrote:
6 nov 2008 kl. 21.21 skrev Patrick Moloney:
I'd like to enable my users to print individual web pages from their
browser. If they simply select the browser print button they don't
get all the text that is displayed in a scrolling text area.
The web page is static html and css, in a php file.
This might be a good starting point.
http://www.alistapart.com/articles/printyourway
//frank
<link href="print.css" media="print" type="text/css" rel="stylesheet"/>
Then set out your CSS in print.css to lay out the page without scrolling
areas.
Ash
www.ashleysheridan.co.uk
Thanks all! So, to state the obvious (to you all) the solution is to
address my original question through CSS. That sounds good.
Ashly, your post is helpful. What is the next step, to display the page
on screen using the new stylesheet, then rely on the user to use the
browsers print button?
Thanks,
Patrick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php