묻고답하기

border-bottom:1px solid #d9d9d9; 등 border 1px 씩 추가하게되면 div칸이 계속 망가지네요 아래와같이..

그래서 보더를 1px 증가시키면 width 나 height 를 1씩 줄여보는데 이거로는 해결이 안되는거같네요..

혹시 어떻게하면 해결이 될지 아시는분 답변 부탁드려요 *^^*

(소스는 가장 아래에 첨부해보도록 하겠습니다! ㅠㅠ 잠시만 시간을 내주시면 감사하겠습니다. __)

 

ex.jpg

아래 사진과 같이 만드려고하는데 border 굵기를 추가하게되면 칸이 이탈을..ㅠ.ㅠex2.jpg

css 소스(newmain.css)

/* container start */
#container {position:relative;width:100%;height:517px;margin:0 auto;top:-70px;}
#container #box {position:relative; width:988px; height:517px; border:1px solid #d9d9d9; margin:0 auto;}
#container #box #container_box1 {float:left;width:329px; height:258px; border-right:1px solid #d9d9d9;}

#container #box #container_box2 {float:left;width:328px; height:258px;}

 

#container #box #container_box3 {float:left;width:330px; height:258px;}

 

#container #box #container_box4 {float:left;width:329px; height:258px;}

#container #box #container_box5 {float:left;width:329px; height:258px;}

#container #box #container_box6 {float:left;width:330px; height:258px;}

 

 

html 파일 속의소스

 

  <link rel="stylesheet" href="newmain.css" />
     <div id="container">
      <div id="box">
            <div id="container_box1">1</div>
            <div id="container_box2">2</div>
            <div id="container_box3">3</div>
            <div id="container_box4">4</div>
            <div id="container_box5">5</div>
        <div id="container_box6">6</div>

    </div>
</div>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
greenCode xedition의 기본화면 가로폭 조정은 어느 파일을 수정하나요? [6] 2015.06.04 by greenCode
drslam 프로파일에 사진 넣고 싶어요 [3] file 2015.06.04 by YJSoft
kent lee XEDITION 문의드립니다. [4] 2015.06.28 by kent lee
한스김 Xedition 레이아웃에 포함된 슬라이드 관련.. [1] 2015.06.13 by ehii
XE모듈 XE 안드로이드 푸시 앱 모듈을 이용해 앱을 만들었는데요 [6] 2015.06.19 by 한꼬마
bluemango 로그인이 갑자기 안되요  
팔도준 질문 :: 내용직접추가 => "잘못된 요청" 에러 메시지. [3] 2015.06.21 by 팔도준
류망스 아이콘이 이상하게 출력됩니다. ㅠ.ㅠ 고수님들... [6] file 2015.06.22 by qkrcjfgus33
사진속일상 CKEditor에 "돌아가기" 버튼이 생겼는데 왜 그럴까요? [4] file 2015.06.25 by 몽실아빠
hellosam 고수님들, 잘 접속되던 XE 사이트가 404에러나 당황, 도와주세요! [15] file 2015.06.29 by hellosam
love**** 메모리 풀 에러 메시지 해결 방법을 알려주세요. [4] file 2015.07.06 by love****
Hi_Roy <!DOCTYPE html> 에 맞게 게시판 스킨을 조정하면서 황당한 경험을 하고 있습니다. [2] 2015.07.13 by Hi_Roy
땀모 글쓰기에서 확장변수 내용작성할때 본문에 저절로 입력되게 할 수 있나요? [2] file 2015.07.14 by 땀모
boy2 jQuery 질문  
ImpactCC 6개의 칸으로 만들어진 div 만드는것좀 도와주세요..^^;; [5] file 2015.07.18 by iuloveiu
파파민 [XE팀] xedition 레이아웃 1.8.7에서 에러? [2] 2015.07.26 by 파파민
luminosa XEDITION 레이아웃 몇가지 질문 드립니다, 도저히 모르겠습니다, 도와주세요~~~ ㅠ.ㅠ file  
와이군1 외부 스타일시트는 링크는 어디에 넣어야 하나요? [2] 2015.07.29 by 와이군1
poltwo 게시판DX 모바일환경에서 댓글 열람 불가  
더블엠씨 스케치북 게시판(웹진형 카드디자인)의 목록의 글자를 키우고 싶습니다. 5시간째 방황중입니다 .ㅜㅜ [9] file 2015.07.31 by 더블엠씨