? about table width - printing page = content cut off

This is a discussion on "? about table width - printing page = content cut off" within the Web Page Design section. This forum, and the thread "? about table width - printing page = content cut off are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 19th, 2007, 18:24
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Question ? about table width - printing page = content cut off

I'm new to the site:
I'm a, mostly self taught, Web Designer/Programmer...I've been working on my own web project that will become our family business.

Its not quite finished...needs tweaking, and still have to complete a few things.

Question
I've designed the <table>'s to be a fixed width of 762 pixels. I printed out one of the pages after bringing it up in my browser and discovered that the <table> width is too big, things get cut off and don't print out on the page.

I don't know if it is because of my printer, but everything is printing out "centered" on the page. I checked the printer properties and didn't see an option to deselect, if there is one, to not "center on page".

I tried setting the <body margin> to 0 or .2 and though it looked fine in the browser, again after printing it out, it centered on the page.

Is there something I have to set in my code??

It is possible to test for a users screen resolution? then have the table created based on the value returned?

I like using fixed widths for tables, as it gives more control over the layout and look of the content...however, I find the widest I can make
a table is 576-612 pixels, so that when printed out on a 8" x 11" page nothing is cut off.

What should I do? Switch to relative widths?
I'm designing based on a resolution of 800x600. My resolution for my screen is set to 1024 x 768.

Any advice/suggestions/opinions, etc. is greatly appreciated.
Many thanks in advance
Reply With Quote

  #2 (permalink)  
Old Feb 19th, 2007, 18:33
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,765
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: ? about table width - printing page = content cut off

tables not so good for print. And you are probably looking to incorporate a print style sheet.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #3 (permalink)  
Old Feb 19th, 2007, 19:07
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ? about table width - printing page = content cut off

Quote:
Originally Posted by moojoo View Post
tables not so good for print. And you are probably looking to incorporate a print style sheet.
I'm assuming a print style sheet is a CSS type of thing? I haven't learned CSS...that's something I should look into then?

P.S. thxs for replying
Reply With Quote
  #4 (permalink)  
Old Feb 19th, 2007, 19:32
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,765
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: ? about table width - printing page = content cut off

Yup, you can use CSS to control layout, style and print.
http://www.alistapart.com/articles/goingtoprint/
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Feb 19th, 2007 at 19:39.
Reply With Quote
  #5 (permalink)  
Old Feb 19th, 2007, 20:06
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ? about table width - printing page = content cut off

Quote:
Originally Posted by moojoo View Post
Yup, you can use CSS to control layout, style and print.
http://www.alistapart.com/articles/goingtoprint/
Thank you moojoo for your help and for the helpful link
Are there any books you could recommend to learn more about coding with CSS?
Reply With Quote
  #6 (permalink)  
Old Feb 20th, 2007, 03:31
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ? about table width - printing page = content cut off

I found it easier to learn CSS by finding a tutorial for things I needed to make, then tinkering with random things

http://w3schools.com/css/
http://csszengarden.com/
http://css.maxdesign.com.au/
Reply With Quote
  #7 (permalink)  
Old Feb 20th, 2007, 12:42
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: ? about table width - printing page = content cut off

Thank you for the links! All in all, it is easier to apply/learn new things, when you fiddle with them, I agree.
Reply With Quote
Reply

Tags
printing web pages, screen resolution, table widths, web design

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
floating a div across the whole width and height of a table cell cosmicbdog Web Page Design 3 Feb 1st, 2008 14:26
Table width problems - change with java bigdavemmu JavaScript Forum 3 Sep 17th, 2007 21:09
printing style sheets to provide A5 size printouts without making content smaller paulbarris Web Page Design 5 May 9th, 2007 19:37
Need to align width of Float table with the table below Vertabase Web Page Design 4 Mar 8th, 2006 21:21
Table cell fixed width settings autumn_whispers2me Web Page Design 5 May 13th, 2005 13:00


All times are GMT. The time now is 02:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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