Answers for "how to place header in the middle of its container"

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

Code answers related to "how to place header in the middle of its container"

Browse Popular Code Answers by Language