
SOFTMOA TECHNOLOGY
[ html ] div 하단정렬
소프트모아가 정리한 기술 기록입니다.
Contents
작성일 2015. 11. 03.
1. 부모 div에는 반드시
position:relative; 와
height:
를 지정한다.
특히, height 를 지정하지 않으면, 입력한 마지막 줄에 겹쳐서 나와요~^^
2. 안에 위치하는 div에는
position:absolute; bottom:0px;
를 코딩한다.
right:0px;
를 추가 코딩하면 오른쪽 정렬된다.
position:relative; 와
height:
를 지정한다.
특히, height 를 지정하지 않으면, 입력한 마지막 줄에 겹쳐서 나와요~^^
2. 안에 위치하는 div에는
position:absolute; bottom:0px;
를 코딩한다.
right:0px;
를 추가 코딩하면 오른쪽 정렬된다.
Share this
Html and CSS
Showing 1 to 10 of 71 entries
