CSS

좌우 여백 설정

PT sun 2020. 8. 2. 01:21

이런식으로 화면 구성 자체를 좌우 여백을 두는 방법은..

 

 

display:block;

width:1050px;

margin:0 auto;

position:relative;

margin-top:170px;

 

 

이중에 margin-top 은 상단여백.