묻고답하기

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 남기남
한빈ded63 줄바꿈 하지않기 질문드려요 [1] file 2015.06.02 by Luatic™
문군크크 XEDITION 레이아웃 질문입니다! file  
WCGM 1.8.2로 업그레이드하고 파일 업로드가 안됩니다. [4] 2015.06.03 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 한꼬마
레몬바나나 xe 업데이트 질문입니다. [8] 2015.06.19 by 댑펑
팔도준 질문 :: 내용직접추가 => "잘못된 요청" 에러 메시지. [3] 2015.06.21 by 팔도준
XE모듈 지금 XE에 설치되어있는 에디터 어떤건가요? [3] file 2015.07.05 by 다미아빠
궈낙이 xe를 그누보드로 이전하는 방법 아시는분?? [7] 2015.07.10 by 이스터래빗
궈낙이 xp 에서 그누로 이전  
파파민 if(!defined("__ZBXE__")) exit(); 의 ZBXE 의미? [2] 2015.07.14 by 파파민
ImpactCC 6개의 칸으로 만들어진 div 만드는것좀 도와주세요..^^;; [5] file 2015.07.18 by iuloveiu
파파민 [XE팀] xedition 레이아웃 1.8.7에서 에러? [2] 2015.07.26 by 파파민
luminosa XEDITION 레이아웃 몇가지 질문 드립니다, 도저히 모르겠습니다, 도와주세요~~~ ㅠ.ㅠ file  
poltwo 게시판DX 모바일환경에서 댓글 열람 불가  
ryuking 500 Internal ERROR XE 에러입니다 ... 도움부탁드립니다. [6] 2015.08.02 by ryuking
영클 도메인 주소 뒤에 xe/ 자동으로 생성되는 이유? [5] 2015.08.07 by 휘즈