Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2005, 12:50 PM
Authorized User
 
Join Date: Oct 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default Print data inside a div

I have a div object that hold a table inside my web page. The height of the div is just about 500px and 100% of the div is visible to user. If the length of the table is greater than 500 then the div will has a scrollbar, and the user can see all the data by scroll the scrollbar upo and down. Now I have a problem when the user try to print the web page, only a portion of the table can be print if the length of the table is too long. What I try to do is send to printer everthing inside the div. I hear about <style media="print"> but I do not know how to do this?

Thanks

John

 
Old August 11th, 2005, 01:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

See if this helps.
http://www.alistapart.com/articles/goingtoprint/

(o<
//\ =^..^=





Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing the content inside the div tag cheeky Pro JSP 0 April 26th, 2007 07:26 AM
Safari not rendering div inside table irjaelisa CSS Cascading Style Sheets 1 July 10th, 2006 10:59 PM
accessing dynamic div width data Ma7T Javascript 1 August 18th, 2005 03:50 PM
Print data inside a Div jdang67 HTML Code Clinic 2 August 11th, 2005 12:58 PM
disable <div> content (everything inside it!) crmpicco Javascript How-To 2 April 12th, 2005 09:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.