In this example below, we are using `text-align` center property on tag with a class ( button-container-div ) so everything inside this will be center-aligned automatically. Run Code 1.1 By setting text-align property of parent div tag to the center ( text-align: center) In this example, we are using `text-align` center property on the tag, so everything inside the tag will be center-aligned automatically. By placing a text-align property of body tag to the center (text-align: center)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |