라인이 자꾸 사라져요
너만
#boardtotal{ clear:both;}
#boardtotal{ overflow:hidden; display:block;}
#boardtotal li{ background:url(../main/images/bl_board.gif) no-repeat 0 2px; padding-left:12px; float:left; letter-spacing:-1px;}
.width1{width:46%;}
.width2{width:42%;}
.tabletop1{ background:url(../main/images/tablebg_top.gif) no-repeat; height:10px; font-size:0; clear:both;}
.tablebottom1{ background:url(../main/images/tablebg_bottom.gif) no-repeat; height:10px; font-size:0; clear:both;}
.tablemid1{ border-left:2px solid #91beeb;border-right:2px solid #91beeb; clear:both; padding:0 5px;}
div id=boardtotal
div class=tabletop1/div
div class=tablemid1
div class=style3열린광장/div
ul
li class=width1a href=#전자민원상담실/a/li
li class=width2a href=#대화의 광장/a/li
li class=width1a href=#행정처분업소공개/a/li
li class=width2a href=#애완동물사랑방/a/li
li class=width1a href=#생활용품나눔장터/a/li
li class=width2a href=#친절불친절신고/a/li
/ul
/div
div class=tablebottom1/div
/div내용부분에 li에 float left를 줬더니 옆에 라인이 사라져요~ 어떻게 해야하죵?
-
바나나맛캔디
overflow:hidden 요놈을 플로트 되어있는 부모 요소에 넣으시면 됩니다.
-
다힘
간단히 해결하시려면 tablemid1 이놈 안에 zoom:1 을 넣으시고 ff를 위해 overflow:auto 도 넣어 주셔요~
-
베이비슈
그렇군요~ㅎ 높이값을 일정하게 주는거 말고 알아서 늘어나게는 못할까용?^^;
-
날애
하늘색으로 양옆에 라인 나오는 것 말씀 주시는 거죠 ? flofloat:left를 쓰게 되면 늘어나는 컨텐츠 만큼 높이같을 인식하지 못해요. tablemid1에 height:150px 같이 높이값을 한번 지정하시고 테스트 해보세요 =ㅁ=;
-
노을
tablemid1 에 보시면 양옆으로 라인이 나오거든요~^^
-
은아
옆에 라인이라는게 무슨 라인인지.....;
-
얀별
오버플로히든 주셨네요 ㅋㅋ 익스 6에서 안보이시는거라면 길이 혹은 zoom:1 을 넣어주시면 됩니다만.