-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha4.css
55 lines (54 loc) · 914 Bytes
/
a4.css
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*To add A4 list you should type: <page size="A4"></page> in youre HTML file*/
body {
background: rgb(204,204,204);
}
page {
background: white;
display: block;
margin: 0 auto;
margin-bottom: 0.5cm;
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
}
.wrapper {
padding-left: 2cm;
padding-top: 1cm;
padding-bottom: 0.8cm;
padding-right: 0.8cm;
}
page[size="A4"] {
width: 21cm;
height: 29.7cm;
}
/*page[size="A4"][layout="portrait"] {
width: 29.7cm;
height: 21cm;
}
page[size="A3"] {
width: 29.7cm;
height: 42cm;
}
page[size="A3"][layout="portrait"] {
width: 42cm;
height: 29.7cm;
}
page[size="A5"] {
width: 14.8cm;
height: 21cm;
}
page[size="A5"][layout="portrait"] {
width: 21cm;
height: 14.8cm;
}
@media print {
body, page {
margin: 0;
box-shadow: 0;
}
}*/
/*Text-wrap and transfer block*/
.mydiv
{
width: auto;
height: 27.9cm;
overflow:hidden;
}