PDA

View Full Version : Printable Version w/ CSS - Margin Problems



Fyre1337
03 Mar 2007, 12:16 PM
I'm currently working on the website stcboysbaseball.net (http://www.stcboysbaseball.net), and I recently created a stylesheet for printing (included in the header of all pages, with media specified as "print".) It's working fine (try printing the home page), except that I get margin overlaps when I try to print this page: http://www.stcboysbaseball.net/rules_pony.php

I'm really having a hard time figuring out how to fix this. I've got a screenshot of what I'm talking about located HERE (http://web.ics.purdue.edu/~jtrefile/kyle1.jpg). It just looks like the text isn't auto-wrapping, which it should do.

You should be able to "View Source" on that Pony Rules page, and just for reference, the print stylesheet is located HERE (http://stcboysbaseball.net/css/print.css).

If anyone has any ideas as to how to fix this, I'd be very greatful. Thanks in advance.

dr_smith
06 Mar 2007, 06:53 AM
Have you now fixed this?
Did you simply set the thin border to visibility:hidden so that all the text displays and wraps without any problems?

At a glance it looks to me like it might have been the right-margin setting of the border rather than the text.