Hi,
I'm trying to create a separate print CSS file for a website. The CSS file disables the menus and certain images. I'm trying to get large images(600+px) to resize so that it fits properly within a page border, but I can't figure out how to do so. I've tried both "width: 100%" and "width: 100px" but the image size when printed out by IE doesn't change at all - it's still truncated on the right.
Also, page breaks don't happen where I want them obviously. I know there's a page-break-before and page-break-after command in CSS2, but other than hard coding these into specific points in the site where page break seems to happen, is there a more general way of doing it so that it is cross-browser? For example, I don't want an image cut off halfway at the bottom of the screen, nor do I want a text heading that's at the bottom of the page, with the corresponding paragraph in the next page(in this case I'd want a page break before the text heading). Is there anyway of doing that automatically?
Thanks!
I'm trying to create a separate print CSS file for a website. The CSS file disables the menus and certain images. I'm trying to get large images(600+px) to resize so that it fits properly within a page border, but I can't figure out how to do so. I've tried both "width: 100%" and "width: 100px" but the image size when printed out by IE doesn't change at all - it's still truncated on the right.
Also, page breaks don't happen where I want them obviously. I know there's a page-break-before and page-break-after command in CSS2, but other than hard coding these into specific points in the site where page break seems to happen, is there a more general way of doing it so that it is cross-browser? For example, I don't want an image cut off halfway at the bottom of the screen, nor do I want a text heading that's at the bottom of the page, with the corresponding paragraph in the next page(in this case I'd want a page break before the text heading). Is there anyway of doing that automatically?
Thanks!