Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
CSS
centering horizontally
tday03
Programming language:
CSS
2021-03-24 10:23:07
5
Q:
centering horizontally
hcnak
Code:
CSS
2021-02-15 20:49:42
div.center{display:block;margin:auto;width:50%;} p.center{text-align:center;}
3
Related
center div horizontally
css center horizontally and vertically
css align center vertical and horizontal
css align items vertical center
css div vertical center
css vertical center
css display div horizontally
center div horizontally and vertically
css center vertically
how to align elements horizontally in css
how to center a div vertically and horizontally
vertical align center css
css flex center horizontally and vertically
how to horizontal center a div in css
center vertically and horizontally css
center div vertically css
New to Communities?
Join the community