I am able to change the float to right and left and the effect apply but when i put in center it does not go there. I am trying to align the container to the center, Not sure when i am going wrong here. I am new to HTML and CSS and the enviorment i am running is sharepoint
.footer {
clear:both;
font-family: 'McLaren', cursive;
background-color:black;
text-align:center;
height:50px;
padding-top: 10px;
box-sizing: border-box;
}
.Book {
float:right;
position:relative;
width: 20%;
padding:0px;
height:40px;
text-align:center;
}
<div class="footer">
<div class="Book" style="background-color:Grey;">