Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old September 9th, 2005, 10:06 AM   #1
New Member
 

Join Date: Sep 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 ClaireB is on a distinguished road
Print

I've inherited a site and it is now required that you can print one of the pages. Unfortunately the page is 730 pixels wide due to the menu bar at the top and is therefore to wide to fit on paper. Is there anyway to scale the page down so you don't loose any data or to possibly remove the menus at the top and resize the table that the data is in?

I'm currently using [img]SolarFS.co.uk/images/print.png[/img] to print but would change it to anything that works.
ClaireB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 9th, 2005, 11:29 AM   #2
New Member
 

Join Date: Sep 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 elliothere is on a distinguished road
I don't think 730px should be too wide, but if the site was done in CSS you can create a separate stylesheet just for printing:

Code:
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
elliothere is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 9th, 2005, 02:52 PM   #3
WebForumz Admin Badge
 

Join Date: Jul 2003
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 118 Webforumz Staff is on a distinguished road
Like Ellio says you'd want to create a CSS file for the print media type. With that you can change widths around, font sizes, colors, and even remove images that don't need printed.
Webforumz Staff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
print


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Without Prompt chrisgeast JavaScript 2 September 7th, 2007 06:34 AM
IE Print issue moojoo HTML, XHTML and CSS 11 September 29th, 2006 05:16 AM
print from my website dber HTML, XHTML and CSS 7 June 24th, 2006 06:54 PM
css - print and screen? cyberpac9 HTML, XHTML and CSS 0 January 3rd, 2006 04:45 PM
Echo vs Print Sqrlgrl PHP 3 May 30th, 2005 06:31 PM


Search Engine Optimization by vBSEO 3.2.0 RC8