I am very,very new to coding and I am trying to center a heading in a div. I managed to center somehow, but it's not perfectly symmetrical and don't get why. Can anyone help me? Here is my code:
#up {
width: 1200px;
height: 100px;
float: center;
clear: both;
margin-left: auto;
margin-right: auto;
background-color: powderblue;
align-items: center;
justify-content: center
}
<div id="up">
<h1 class="arial" align="center" style="color:white"> NOT ANOTHER <img src="logo t shirt.png" style="vertical-align: middle; width:90px; height:90px" ;>T-SHIRT STORE </h1>
</div>
Here is how it looks, h1 not symmetrically vertical centred