min-height:100%1 min-height:100% ๋ฅผ ์ด์ฉํด์ footer๋ฅผ ํ๋ฉด์๋์ ๊ณ ์ ํ๊ธฐ /* html */headercontainer footer /* css */ html, body{width:100%height:100%}html{width:100%;height:100%}body{width:100%;height:100%} html๊ณผ body์ height:100%๋ฅผ ์ ์ฉ์ํต๋๋ค. #header{width:100%;height:50px;position:relative;z-index:20;overflow:hidden;background-color:#fcc} ๋ฐฑ๊ทธ๋ผ์ด๋์ปฌ๋ฌ๋ ์ ๋จนํ๋์ง ํ์ธ์ ์ํ๊ฒ์ผ๋ฟ์ ๋๋ค.๋์ด๊ฐ์ ๊ผญ header์ ์ ํด์ฃผ์ด์ผ๋๋ฉฐ position์ด ํ์๋ก ์์ด์ผ์ง container๊ฐ ์ฌ๋ผ์์๋ z-index๋ฅผ ์ด์ฉํด์ container์์ ์ฌ๋ผ์ฌ์์์ต๋๋ค.(z-index์ .. 2012. 9. 18. ์ด์ 1 ๋ค์