채택완료

콘테이너와 인덱스를 중양으로 오게하려면

2017-06-10 (토) 13:09:42 2,599

http://brainsports.co.kr/

이 상태에서 콘테이너와 인덱스를 중앙으로 오게하려면 어떻게 하면 될까요? 

|

답변 1개 / 댓글 3개

채택된 답변
+20 포인트

css/default.css 파일

#container 부분에서 width:900px; 대신에 margin:0 auto;width:976px; 추가

#container {z-index:4;position:relative;float: center;margin:0 auto;width:976px;padding:0px 0px 0px 0px;min-height:500px;height:auto !important;height:500px;border-right:1px solid #dde4e9;background:#fff;font-size:1em;zoom:1}


답변에 대한 댓글 3개

감사합니다. 그런데 헤드와 인덱스를 맞추려면 어떻게 해야할가요?
#container 에서 뒷부분에 있는 width:900px; 부터 지우세요. 안 지우셨네요.
그리고 지금 수치가 지정된 테이블 태그가 너무 많아서 정확히 계산해서 수정하셔야 할 것 같네요.
해결됐습니다. 감사합니다.

답변을 작성하려면 로그인이 필요합니다.