<meta charset="ISO-8859-1">
<title>App</title>
<link rel="stylesheet" type="text/css" href="libs/css/style.css">
</head>;
<body>
<style type="text/css">
@page{
margin: 0;
}
#blocksHolder {
page-break-after: always;
padding-left:0px;
}
</style>
<div id="blocksHolder">
<div id="canvas">
<div id="bgImg">
$pdf .= <img src="imgs/backgrounf.jpg" />
</div>
<div id='canvas-ele-01' class='background-item canvas-item ui-draggable ui-draggable-handle' style='left:15%; top:10%; position:absolute;' >
<div class='canvas-ele-01-img ui-resizable' style='width:20%; height:15%; position:absolute;'>
<img src="img/object.png" />
</div>
</div>
</div>
</div>
</body>
</html>
the style.css contains the following css.
<style>
.side-bottom-logo {
position: absolute;
bottom: 30px;
text-align: center;
width: 100%;
margin: 0 -15px;
}
/************** Canvas Area **************/
#blocksHolder {
float: right;
padding-left: 190px;
/*height: 894px;*/ /*commented out the height*/
width: 100%;
-webkit-transition: 0.5s cubic-bezier(.39,1.31,.28,1), width 0.5s;
-moz-transition: 0.25s, width 0.5s;
-o-transition: 0.25s, width 0.5s;
transition: background 0.5s cubic-bezier(.39,1.31,.28,1), width 0.5s;
}
body.on #blocksHolder{
width: calc(100% - 190px);
}
#canvas {
/*background: url(../img/bg_02.jpg) no-repeat 50% / 100%;*/
width: 100%;
/*position: absolute;
bottom: 0;
left: 0;
top: 0;
right: 0;*/
}
#canvas > #bgImg > img{
vertical-align: top;
}
.canvas-actions {
display: none;
position: absolute;
left: 6px;
top: -54px;
}
.canvas-item.active .canvas-actions {
display: block;
}
.canvas-actions li:hover i {
color: #292929;
}
.canvas-actions li i {
color: #959595;
font-size: 25px;
-webkit-transition: color 0.25s;
-moz-transition: color 0.25s;
-o-transition: color 0.25s;
transition: color 0.25s;
}
#canvas #canvas-ele-01 {
box-sizing: border-box;
text-align: center;
width: 250px;
position: absolute;
left: 45%;
top: 235px;
}
#canvas #canvas-ele-01 .canvas-ele-01-img {
border: 3px dotted transparent;
/*padding: 25px 30px;*/
}
#canvas #canvas-ele-01 .canvas-ele-01-img.selected {
border: 3px dotted #fff;
}
#canvas #canvas-ele-01 img{
width: 100%;
height: 100%;
}
.canvas-ele-01-actions{
width:250px;
}