div 잘하시는분 있나요? 좀 봐주세요... > 자유게시판

자유게시판

div 잘하시는분 있나요? 좀 봐주세요... 정보

div 잘하시는분 있나요? 좀 봐주세요...

본문

이유가 멀까요.?
div 공부중입니다.
첫 div(테이블)속에 1,2,3,4,5,6 번을 넣고 싶은데요...

<div>
<div style="float:left;">1</div>
<div style="float:left;">2</div>
<div style="float:left;">3</div>
<div style="float:left;">4</div>
<div style="float:left;">5</div>
<div style="float:left;">6</div>
</div>

위에거는 잘되는데.
아래거는 첫 div 에 style 을 넣으니가 안되네요...? 

<div style="width:100px; >
<div style="float:left;">1</div>
<div style="float:left;">2</div>
<div style="float:left;">3</div>
<div style="float:left;">4</div>
<div style="float:left;">5</div>
<div style="float:left;">6</div>
</div>

추천
0
  • 복사

댓글 7개

editplus에서 저걸 보면 두번째 줄 색이 이상하게 나오네요.

메모장같은걸로 하지 마시고 하드코딩은 editplus 를 써보세요.
© SIRSOFT
현재 페이지 제일 처음으로