Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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:51 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?


Old August 11th, 2005, 12:55 PM
richard.york's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

We heard you the first time you posted.
Please post replies here: http://p2p.wrox.com/forum.asp?FORUM_ID=143


Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
Old August 11th, 2005, 12:58 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts

Sorry. I didn't see your post.

But I think you mean http://p2p.wrox.com/topic.asp?TOPIC_ID=33743 .

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 CSS Cascading Style Sheets 1 August 11th, 2005 01:00 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.