Ive never used this forum before so sorry if im doing something wrong but im currently creating an online shop for a local business. I want to align the title into the middle of the div but it just doesnt want to work for me.
My HTML for each product (in unordered list):
My CSS here:
.item{
height:300px;
margin: 5px;
background-color: #ffffff;
}
.item img{
height: 200px;
border-style: solid;
border-color: black;
margin: 10px 17px;
}
.name {
text-decoration: none;
color: black;
font-weight:bold;
background-color: #ffffff;
text-align: center;
}
Everything works in the .name tag including editing the font weight and color but the text will not move, with indent or aligning it.
Thanks for any help