Answers for "how do you align text to the center of the screen html"

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
0

center text in html

text-align: center;
Posted by: Guest on October-07-2020

Code answers related to "how do you align text to the center of the screen html"

Browse Popular Code Answers by Language