PDA

View Full Version : Printing Scrolling Divs


Jules1777
02-19-2008, 04:15 PM
Hi all,

Currently working on this page: http://www.mhstest.org/htdocs/equality%20and%20diversity/index-equality.html
As you can see i've created the print stylesheet, but having major problems with it still showing the scrollbar in the print preview.
Here's the stylesheet i'm using to print:

.noprint {
display : none;
}

#TextCase {
position: absolute;
font-family: Verdana;
font-size: 12pt;
padding: 5px;
overflow: visible;
height: auto;
}

But it's not working. I've posted here previously, and taken the good advice about using overflow:visible etc, but for some strange reason it's still showing the text in the middle of the screen, with the scroll bar. I've ran out of ideas, and hope you guys can help!

Thanks in advance

Cary
02-19-2008, 11:12 PM
You've linked the normal style sheet twice. Once in the head and once in the body around line 43. Remove the second occurrence and see how things work for you.

Jules1777
02-20-2008, 07:56 AM
Thank you so much.....I didnt see that.

Removed the second link and it seems to have worked.