In this tutorial, I will show you the basics of aligning objects using CSS. I will show you two different ways of How To Align Objects With CSS using the float tag and margin tag.
If you like this video, please consider giving it a positive review and/or subscribing to my YouTube channel. If you have video suggestions or questions or comments on this video, please feel free to leave them below.
The CSS I show in the video is available below or you can download a working here:
.boxHolder{
margin:0 auto;
width:220px;
}
.box1{
background:#F80206;
width:100px;
height:100px;
float:left;
margin-right:20px;}
.box2{
background:blue;
width:100px;
height:100px;
float:left;
}