div ¾È¿¡ ¿©·¯°³ÀÇ div¸¦ ³Ö¾î¼ °¡·Î ½ºÅ©·ÑÀ» ¸¸µé°í ½ÍÀºµ¥, ¼¼·Î ½ºÅ©·Ñ¸¸ »ý±â³×¿ä ;
ã¾Æº¸´Ï div ¾È¿¡ Å×À̺íÀ» ³Ö°í td ¸¦ ´Ã·ÁÁÖ´Ï °¡·Î½ºÅ©·ÑÀÌ »ý±â±â´Â Çѵ¥, Å×ÀÌºí ¸»°í div °¹¼ö¸¦ ´ÃÀÌ´Â °ÍÀ¸·Î´Â °¡·Î ½ºÅ©·ÑÀ» ¸¸µéÁö ¸øÇϴ°¡¿ä ?
<-div style="overflow-x: auto; width:500px; height:50px; "> <-div class="q" id="q1" style="width:50px; height:50px; float:left; ">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px;float:left; ">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px;float:left; ">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-div class="q" id="q1" style="width:50px; height:50px; float:left;">q12313123123123123131</div> <-/div>
À§ Äڵ忡¼ ¼ø¼öÇÏ°Ô °¡·Î ½ºÅ©·Ñ¸¸ ¸¸µé°í ½ÍÀºµ¥,
¹æ¹ýÀ» ¸ð¸£°Ú½À´Ï´Ù.
| |
|
ÀߵǴµ¥¿ä...;
µ¿ÀûÀ¸·Î div¸¦ °è¼Ó Ãß°¡ÇØÁÖ·Á°í Çߴµ¥ °á±¹ À§¿¡ °¨½Î°í ÀÖ´Â divÀÇ width °ª ¶§¹®¿¡ ¾Æ·¡·Î ³»·Á¿À´õ±º¿ä.
±×·¡¼ °¨½Î°í ÀÖ´Â div¸¦ Çϳª ´õ Ãß°¡ÇØ ÁÖ¾ú°í, Ãß°¡µÇ´Â div°¡ ÀÖÀ» ¶§ ¸¶´Ù °¨½Î´Â divÀÇ ±æÀ̸¦ µ¿ÀûÀ¸·Î ´Ã¿© ÁÖ¾ú½À´Ï´Ù.
±×·¨´õ´Ï °¡·Î ½ºÅ©·ÑÀÌ ¿øÇÏ´Â µ¥·Î »ý±â³×¿ä. ¤¾¤¾
´äº¯ °¨»çÇÕ´Ï´Ù.