How to declare a div in @page @top-left
Posted
by icon911
on Stack Overflow
See other posts from Stack Overflow
or by icon911
Published on 2010-05-03T19:22:51Z
Indexed on
2010/05/03
19:28 UTC
Read the original article
Hit count: 184
css3
How do I declare that a DIV should be displayed in top-left corner of every page and not in its relative position.
I have a div like:
<div id=header>Document</div>
and I would like to display it on every page in top left corner using css like:
@page {
size: 8.5in 11in;
margin: 0.25in;
border: thin solid black;
padding: 1em;
@top-left {
content: ???? ;
}
}
Thank you.
© Stack Overflow or respective owner