clear:both
위 속성은 float속성이 지정된 마크업태그뒤에 오는 대상에게 지정하는데..
float된 대상 뒤에 오는 것은 위치가 뒤틀려지게 된다.끌려올라가서
제 위치를 유지못하게 된다...
보통의 경우 하단영역에 clear속성을 적용한다
7 | margin:0 auto와 text-align:center | 101 |
6 | position:relative | 115 |
5 | 배경 background | 50 |
4 | line-height | 46 |
» | clear:both | 30 |
2 | 외부스타일시트 | 47 |
1 | position [1] | 32 |