Print Header with Page Break/Number
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
<div class="image-header-container" style="break-before: avoid;">
<span class="image-seal"></span>
<span class="text-header">
<span class="header-title">Transportation and Public Works Department</span>
<br>Mobility Services
<br>1501 Toomey Road
<br>Austin, TX 78704
<br>512-974-7857
</span>
</div>
<div class="page-counter">
Page <span class="page-number"></span>
</div><div class="image-header-container">
<span class="image-seal"></span>
<span class="text-header">
<span class="header-title">Transportation and Public Works Department</span>
<br>Mobility Services
<br>1501 Toomey Road
<br>Austin, TX 78704
<br>512-974-7857
</span>
</div>
<div class="page-counter">
Page <span class="page-number"></span>
</div>/********************************************/
/****** Print Header ************************/
/********************************************/
#kn-scene_65, #kn-scene_83 {
counter-reset: page;
}
#kn-scene_65 .view-group, #kn-scene_83 .view-group {
display: block; /* avoids text overlapping */
}
.image-header-container {
display: block;
align-items: flex-start;
flex-direction: row;
justify-content: center;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
break-before:page;
}
.image-seal {
content:url("https://www.austintexas.gov/sites/default/files/images/Transportation/Home_Page_Gallery/2023%20Austin%20Transportation%20Public%20Works%20Branding%20Guide%2004.28.23_Color%20stack.png");
width: 152px;
height: 113.324px;
display: inline-block;
vertical-align: top;
border-right: 3px solid #2B5EA0;
}
.text-header {
justify-content: center;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
display: inline-block;
vertical-align: top;
margin-left: 10px;
}
.header-title {
color: #2B5EA0;
font-weight:lighter;
font-size:1.5em;
}
/* Page Number Counter setup */
.page-counter {
display:block;
text-align: right;
margin-top: 10px;
}
.page-counter .page-number::before {
counter-increment: page;
content: counter(page);
}