Alex McCullough
02/04/2023, 6:00 PMAlex McCullough
02/04/2023, 6:01 PMAlex McCullough
02/04/2023, 6:04 PMAlex McCullough
02/04/2023, 6:06 PM<style type="text/css">
* { margin: 0; padding: 0; border: 0; }
@page {
size: "Letter" portrait;
margin: 0; padding: 0;
}
.labelframe{
height: 2in;
width: 4in;
color: #000; background: #FFF;
font-family: "Roboto", "Helvetica Neue", Helvetica, "NotoSans", Arial, sans-serif;
font-size: 10pt; line-height: 18pt;
}
.labelframe .headerarea {
position:relative;
left:0;
top:0;
height: 25%;
width: 100%;
border: 1px solid;
overflow:hidden;
}
.labelframe .headerarea .shipto {
position:absolute;
top:0;
left:0;
bottom:0;
width:100%;
padding-left:1%;
padding-right:1%;
padding-bottom:1%;
}
.labelframe .headerarea .shipto .value {
position:absolute;
top:0;
left:18%;
bottom:0;
right:0;
font-weight: 800;
font-size: 14;
}
.labelframe .headerarea .itemposition{
position:absolute;
right:0;
bottom:0;
left:80%;
text-align: right;
border: 1px solid;
white-space: nowrap;
background-color: white;
z-index:10;
padding-right:1%
}
.labelframe .centerarea {
position:relative;
height:30%;
width:100%;
border: 1px solid;
overflow:hidden;
white-space: nowrap;
}
.labelframe .centerarea .shipdate{
position:absolute;
top: 0;
left: 0;
right:58%;
bottom:50%;
float:left;
padding-left:1%;
}
.labelframe .centerarea .shipdate .value{
position:absolute;
top:0;
left:44%;
font-weight: 800;
font-size: 14;
}
.labelframe .centerarea .orderid{
position:absolute;
top:0%;
left:43%;
right:20%;
bottom:50%;
padding-left:1%;
}
.labelframe .centerarea .orderid .value{
position:absolute;
top:0;
left:45%;
font-weight: 800;
font-size: 14;
}
.labelframe .centerarea .quantity{
position:absolute;
top:0;
left:80%;
right:0;
bottom:50%;
text-align: right;
padding-right:1%;
}
.labelframe .centerarea .quantity .value{
font-weight: 800;
}
.labelframe .centerarea .itemid{
position:absolute;
top:50%;
left:0%;
right:58%;
bottom:0;
padding-left:1%;
}
.labelframe .centerarea .itemid .value{
position:absolute;
top:0;
left:44%;
font-weight: 800;
font-size: 14;
}
.labelframe .centerarea .routename{
position:absolute;
top:50%;
left:43%;
bottom:0;
right:0;
text-align: left;
padding-right:1%;
padding-left:1%;
}
.labelframe .centerarea .routename .value{
position:absolute;
top:0;
left:29%;
font-weight: 800;
text-align: left;
}
.labelframe .itemarea {
position:relative;
height:45%;
width:100%;
border: 1px solid;
}
.labelframe .itemarea .itemdescription{
position:absolute;
padding-left:1%;
padding-top:1%;
padding-right:1%;
padding-bottom:1%;
left:0;
top:0;
bottom:0;
right:0;
font-size: large;
}
.labelframe .itemarea .fccompanyname{
position:absolute;
right:0;
bottom:0;
left:80%;
height:40%;
border: 1px solid;
font-weight:700;
text-align: center;
font-style:italic;
background-color: lightgray;
z-index: 10;
line-height: 1.2;
}
.text-highlight {
font-weight: 800;
}
.normal-bold {
font-weight: 800;
font-size: 14;
}
.large-bold{
font-weight: 800;
}
</style>
</head>
<body>
<div class="labelframe">
<div class="headerarea">
<div class="shipto">
<p>Ship To:</p>
<div class="value">
<p>293 Brattleboro Food Co-op : Deli (Joe Smith) waoijefwoain weoinfoaw e;oifnaw eo;ifn awoeinf woienf woie f weoifnw
</p>
</div>
</div>
<div class="itemposition">
<p># 83 of 84</p>
</div>
</div>
<div class="centerarea">
<div class="shipdate">
<p>Ship Date:</p> <div class="value"><p>Fri 02-02-23</p></div>
</div>
<div class="quantity">
<p>Qty:</p> <span class="normal-bold"><p>1</p></span>
</div>
<div class="orderid">
<p>Order ID:</p> <div class="value"><p>SO182</p></div>
</div>
<div class="itemid">
<p>Item:</p> <div class="value"><p>ATG001</p></div>
</div>
<div class="routename">
<p>Route:</p> <div class="value"><p>Wed Monadnock Main</p></div>
</div>
</div>
<div class="itemarea">
<div class="itemdescription">
<div class="text-highlight"><p>Against the Grain / Frozen Pizza, Pesto 10" / Case, 10 each extra extra extra extra extra extra extra extra extra extra extra extra extra </p> </div>
</div>
<div class="fccompanyname">
<p>Food Connects</p>
</div>
</div>
</div>
Alex McCullough
02/04/2023, 6:08 PMAlex McCullough
02/04/2023, 6:19 PMFormat tables using CSS. Thehttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_158204583926.htmlmethod of formatting tables is obsolete and prone to user error.<table>
Alex McCullough
02/06/2023, 3:16 AMDavid B
02/06/2023, 7:31 PM