[Again, sorry for the delay, it appears our moderation queue has just been cleared.] On Tue, Jun 10, 2014 at 1:21 PM, Scott Arciszewski <kobrasrealm@gmail.com> wrote: > I was envisioning something like... > > @media print { > #some_div:after-page-break { > background-color: #ff0; > border: 1px solid #000; > content: attr(data-header); > } > } > > <div id="#some_div" data-header="This is some static header for regions that > need a repeatable header element in print preview."> > <!-- stuff --> > </div> So, again, it looks like you're asking for the ability to *create* an element immediately after a page break, rather than *select* one. That is, your ":after-page-break" pseudo-class should really be an ::after-page-break pseudo-element. I don't *think* you intend with your example to actually *wipe out* the contents of #some-div and replace them with the contents of the data-header attribute. Is this right? ~TJReceived on Wednesday, 23 July 2014 14:49:30 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:44 UTC