Av@Tech
Learner
How can I place img and a elements to each other in TCPDF?
How can I place img and a elements to each other in TCPDF?
Share
<!DOCTYPE html>
<html>
<head lang=”en”>
<meta charset=”UTF-8″>
<title>TCPDF</title>
<style>
.pgHeader{
position: relative;
border: 2px solid black;
display: table;
height: 250px !important;
}
.pgHeader .p_left{
width: 100%;
}
.pgHeader div img{
position: relative;
display: inline-block;
float: left;
height: 100px;
overflow: hidden;
}
.pgHeader div a{
position: relative;
display: inline-block;
text-align: right;
overflow: hidden;
float: right;
font-weight: bold;
font-size: 50px;
}
.pgHeader .p_left div {
background-color: #19212f;
display: inline-block;
}
</style>
</head>
<body>
<div class=”pgHeader”>
<div class=”p_left”>
<div style=”border: 1px solid black;”><img src=”https://scontent.fccu11-1.fna.fbcdn.net/v/t1.0-9/93707347_1129735284061051_6384352281436880896_n.jpg?_nc_cat=104&_nc_sid=85a577&_nc_ohc=-V4pTNUpt5cAX_8_R41&_nc_ht=scontent.fccu11-1.fna&oh=03c4111e18159e5734382c5386772483&oe=5EFAB993″></div>
<div style=”border: 1px solid black;”><a>Aviance School</a></div>
</div>
</div>
</body>
</html>