Sir I have these codes
<html>
<head>
<style type="text/css">
#pic {
float:left;
width: 170px;
border: 1px solid red;
padding: 1px;
text-align: center;
font-size:12px;
}
#pic img {
float:left;
width: 50px;
height: 45px;
}
</style>
</head>
<body>
<div id="pic">
<p>
<img src="https://www.gravatar.com/avatar/ecefb26ed5fc91eca453b31a1f7cdfd8?
d=identicon&s=80">
General Manager<br/>
Azhar Sharif<br/>
0302-1234567
</p>
</div>
<body>
This displays following output
I want to remove white space from top and bottom of text and image because there is padding:0.