Click to See Complete Forum and Search --> : Help! Css Printing And Page Lengths


Fembot
04-04-2006, 04:57 PM
A couple of questions for some merciful soul!

I am building a website for the professor that I work under and I seem to have built some problems into the site. (I'm obviously not a "real" web developer)

Printable format issue:
I used CSS set printing properties....However, when printing, a final, empty page is always included, is there anyway to get it to stop wasting paper?


Page Height:
I set tables for the pages to 100% height so that they would always expand to fit my text but it seems that they are just expanding to the bottom of the screen even when the page content doesn't go that far down (at least, in IE) is this something I can change?


Homepage Height...
I have some expandable divs on the home page but I noticed that (at least in firefox) the page length shows up as if the content was visible... in other words, even though the divs aren't expanded, the page shows up as if they were....

:eek: Can ANYONE help me with this? I have to get this ready for a board meeting and I don't know how to fix these things?

the link is: http://www.sacredvocation.net

Thanks

Fang
04-05-2006, 03:46 AM
Printable format issue: Probably not, it could be a printer option. You have no print css :confused:

Page Height: Don't give the table height. Normally it will expand to fit contents.

Homepage Height... Give a specific example.

Please fix html validation errors (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fmyweb.uiowa.edu%2Focoker%2F). There are also errors in the css.

jogol
04-05-2006, 04:02 AM
there is a print css
<style type="text/css" media="print">
body {background: white;}
TD.NoPrint, table.NoPrint, TR.NoPrint,{
display: none;
}

TD.Print, TABLE.Table, TABLE.CONTAINERTABLE {
margin: 0px;
padding: 0px;
border: none;
width: auto;
}
</style>

anyway the print preview in ff 1.5.0.1 screws the page completely. it is spread over 4 pages of paper...

EDIT: not true, i had the page layout set to landscape. looks good, although iŽd at least hide the menu in the print version.

pcthug
04-05-2006, 04:12 AM
http://www.alistapart.com/articles/goingtoprint/

Fembot
04-06-2006, 03:26 PM
...?

Fembot
04-06-2006, 03:36 PM
You know, I didn't know the print preview was so messed up in firefox...

I've re-worked the print previews...seems there was some sort of disagreement in the tags?

Fembot
04-06-2006, 03:58 PM
firefox shows the length of the home page as if the divs were all expanded...it really looks terrible, this doesn't happen in IE....is there some way to fix this???

Also, in firefox, when printing some pages, it will print a last, "empty" page.

My boss has already made note of this and asked me fix it...


I don't know what to do? this is cutting it really close to deadline

:eek: :eek: :eek: :eek: !

I really need some help...SOMEBODY!

http://www.sacredvocation.net