I'm trying to make a div the size of its contents, but I'm dealing with a ghost line. Can someone give it a look?
* {
margin: 0;
padding: 0;
}
div#holder {
background-color: blue;
display: inline-block;
}
canvas {
cursor: pointer;
background-color: gray;
}
<div id="holder">
<canvas id="canvas" width="300" height="300"></canvas>
</div>