I'm trying to print jukebox strips. I have some code written that produces the html page to display the strips, and then you can print them. Jukeboxes have selection buttons like ABCDEFGHJK and 1234567890. To make it easier to load the slots with the strips, I want to print that designator in the corner of the card, where it won't be visible anymore once you insert it. Makes it easier after you have cut all the printed strips and insert them in the right slots.
But whatever I try, printing this designator moves the text on the strip, which is of course not what I want.
My code so far looks like this:
<!doctype html>
<html>
<head>
<style type="text/css">
.card {
width: 3in;
height: 1in;
background-image: url(http://www.videofrank.nl/images/jukestrip.jpg);
background-size: 3in 1in;
}
.line {
width: 3in;
height: 7mm;
text-align: center;
font-family: Georgia, serif;
}
.cardnumber {
font-size: 5px;
top: auto;
z-index: 100;
}
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0">
<tr>
<td class="card">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="line">Let It Be</td>
</tr>
<tr>
<td class="line">Beatles</td>
</tr>
<tr>
<td class="line">Yellow Submarine</td>
</tr>
</table>
<div class="cardnumber">H1<br>H2</div>
</td>
<td class="card">
<table cellspacing="0" cellpadding="0">
<tr>
<div class="cardnumber">J7<br>J8</div>
<td class="line">Bad</td>
</tr>
<tr>
<td class="line">Michael Jackson</td>
</tr>
<tr>
<td class="line">Liberian Girl</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Also tried all sorts of position: absolute and postion: relative, but I can't get it right.
Any ideas on what to change?