"HTML div 왼쪽, 오른쪽 분할"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-http://zetawiki.com/css/ +http://zetawiki.com/ex/css/))
 
3번째 줄: 3번째 줄:


==예시==
==예시==
*http://zetawiki.com/css/div-left-right-divide.html
*http://zetawiki.com/ex/css/div-left-right-divide.html
<source lang='html5'>
<source lang='html5'>
<style>
<style>

2015년 7월 19일 (일) 16:31 기준 최신판

1 개요[ | ]

HTML div 왼쪽, 오른쪽 분할

2 예시[ | ]

<style>
.left-box {
  background: red;
  float: left;
  width: 50%;
}
.right-box {
  background: blue;
  float: right;
  width: 50%;
}
</style>
<div class='left-box'>왼쪽</div>
<div class='right-box'>오른쪽</div>

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}