Click to See Complete Forum and Search --> : Printing problem


jr385
01-18-2007, 04:24 PM
All:

I was browsing through previous posts and couldn't find an answer to my question so I'm posting now.

I'm working with this website:
http://www.drexel.edu/rlo/RASelection/

When you print it, the words cut off and we want it to print all on one page. I've used some CSS code that I found here and on the web.

Any ideas?
Thanks in advance.
Joe

DaveSW
01-18-2007, 05:47 PM
You have lots of nested tables in your layout. This is not good for accessibility or modification by CSS!

However, if you apply a class or id to the table containing your menu, set that to display: none; in your print stylesheet.

e.g.
#mymenutable { display: none; }

Then do the same with the cell containing it, where the width is specified as 160px. Take the 160 out of the html, put it into your normal stylesheet

e.g.
#somecell { width: 160px; }

and in the print stylesheet specify it as somewhere near 0.

That should move your main body to the left so it fits on a page. However there's so many table cells in there I can't be absolutely certain that none of the others affect it.

If your entire layout was css it would be easier to modify. Might be something to look into for the future.

regards

Dave