CSS-based PDF: Make borders go all the way across page
Posted: Wed Aug 15, 2018 12:50 am
Here is what my @page looks like:
@page {
size: us-letter landscape;
column-count: 2;
column-gap: 0.5in;
margin-left: 0.1in;
margin-right: 0.1in;
margin-top: 0.1in;
margin-bottom: 0.5in;
}
I'd like to have a border go all the way across the bottom of the page and override the margins. When I add something like this to my @page:
border-left: 0.5in solid yellow
that border is still constrained by the left and right margins. Is there a way to make it extend all the way, regardless of the margins?
@page {
size: us-letter landscape;
column-count: 2;
column-gap: 0.5in;
margin-left: 0.1in;
margin-right: 0.1in;
margin-top: 0.1in;
margin-bottom: 0.5in;
}
I'd like to have a border go all the way across the bottom of the page and override the margins. When I add something like this to my @page:
border-left: 0.5in solid yellow
that border is still constrained by the left and right margins. Is there a way to make it extend all the way, regardless of the margins?