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.
|
|
|
|
|
![]() |
||
? about table width - printing page = content cut off
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
||||
|
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.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: ? about table width - printing page = content cut off
Quote:
P.S. thxs for replying |
|
||||
|
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/
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Feb 19th, 2007 at 19:39. |
|
|||
|
Re: ? about table width - printing page = content cut off
Quote:
Are there any books you could recommend to learn more about coding with CSS? |
|
||||
|
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/ |
|
|||
|
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.
|
![]() |
| Tags |
| printing web pages, screen resolution, table widths, web design |
| Thread Tools | |
|
|
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 |