I'm having issues with unordered list items being slightly off center from each other. I'm very new to this. Can anyone advise?
I thought using center align would result in all text being symmetrical but each list item is slightly askew. I also tried using list-style-position: inside; as per other answers but this didn't seem to help.
.list {
text-align: center;
padding-left: 0;
list-style-position: inside;
font-style: normal;
font-family: cursive;
color: teal;
display: block;
border-spacing: 5px;
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
width: 92.35%;
background-color: bisque;
}
<div class="header">
<h1> Birthday Time!</h1>
<div class="list">
<h3> What to bring:</h3>
<ul>
<li> Balloons</li>
<li> Pinata</li>
<li> Crisps</li>
</ul>
</div>