I wrote the following code
canvas{ width: 1000pt;height: 100pt; margin: 0px; }
.bluecolor{background-color : skyblue;}
.orangecolor{ background-color : darkblue;}
.indianred{background-color : #CD5C5C ;}
<html>
<body>
<canvas id="canvas1" class = "orangecolor" > </canvas>
<canvas id="canvas2" class = "bluecolor" > </canvas>
<canvas id="canvas3" class = "indianred" ></canvas>
</body>
</html>
I want to remove the spacing between the canvas elements , and want it to have no space between , them how to achieve it ?
And also why is there any spacing , when I have explicitly made margin to be zero ?
Maybe I am missing a crucial point , I am a beginner in HTML, CSS and JavaScript , and if I have not properly framed my question please mention it in comment below , I will happily do so.