* 가로 중앙정렬 1 2 3 4 5 6 7 8 9 10 .div1{position:relative;} .my_div {position:absolute;left:50%;transform:translateX(-50%);} Colored by Color Scripter cs * 세로 중앙정렬 1 2 3 4 5 6 7 8 .div1{position:relative;} .my_div {position:absolute;top:50%;transform:translateY(-50%);} Colored by Color Scripter cs