File: print.css

package info (click to toggle)
w3c-markup-validator 0.7.4-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,708 kB
  • ctags: 117
  • sloc: perl: 1,938; sh: 94; makefile: 53; xml: 8
file content (28 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@media print 
/* should not be necessary to wrap this way, but safer is better */
{
    #menu, .jumpbar, address, .copyright, #revalidate { 
        display: none; 
        }

    html {
        background: white;
    }


    body {
        font-size: 12pt; 
        background: white;
        padding: 0;
        }

    #banner { 
        background: white; 
        }

    /* trying to avoid having the source drool out of the paper */
    #source div pre { white-space: normal }
    /* ... yet have something legible */
    #source div pre a {display: block }

}