Answers for "align on center article"

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
7

center text in div container

text-align: center
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language