Hey there! I've got this CSS code for my H2 heading:
.rightBox h2 {
background: url(images/lineh2.png) 0px 0px no-repeat;
border-top: 1px solid #e4e4e4;
margin-bottom: 15px;
font-size: 22px;
font-weight: 100;
font-family: "Segoe UI Semilight", Tahoma, Helvetica, Sans-Serif;
color: #00b4f0;
display: block;
padding: 10px 0px 0px 0px;
}
This code adds a line above the title that is 40x5px in size, positioned at 0px from the left. I want to center the title using text-align:center;
, but I also want the line to be centered while remaining in the left corner, similar to this image:
https://i.sstatic.net/Os9g4.png
Thank you!