este es el css que uso:
Código CSS:
Ver originalhtml {
margin: 0;
}
body {
margin:30mm 8mm 40mm 8mm;
/*text-align:justify;*/
}
#casa {
color:#FF6700;
}
#cabecera,
#footer {
position: fixed;
left:0;
right:0;
}
#footer {
bottom:0;
height: 50px;
text-align: center;
background-color:#FF6700;
border-top: 2px solid #1773E1;
color:#FFFFFF;
}
#cabecera {
top:0;
height: 50px;
text-align: center;
background-color:#FF6700;
border-bottom-width: 2px;
border-bottom: solid;
border-bottom-color: #1773E1;
color:#FFFFFF;
}
.pagenum:before {
content: counter(page);
}
#mensaje {
padding:15px;
background-color:#F1F1F1;
border-top:solid;
border-top-color:#4072B5;
border-top-width:2px;
border-top-right-radius:25px;
}
.box {
position: relative;
background: #F7F7F7;
border-top: 2px solid #c1c1c1;
margin-bottom: 20px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
width: 100%;
box-shadow: 0px 1px 3px #171515;
padding:15px;
}
.box.box-info {
border-top-color: #00c0ef;
}
#titulos {
background-color:#00437B;
color:#FFFFFF;
}
hr {
page-break-after: always;
border: 0;
}
#cuadro {
width:10px;
height:10px;
border:solid;
border-width:2px;
}
#tabla {
table-layout:fixed;
}