Answers for "align header in middle of div"

CSS
0

css position element in the middle of a header

P.blocktext {
    margin-left: auto;
    margin-right: auto;
    width: 200px;/*usually works best with a fixed width*/
}
Posted by: Guest on December-20-2020

Browse Popular Code Answers by Language