<style type="text/css">
.css_test {
background : #efefef;
border : 5px solid gray;
margin : 0 auto; /* DIV 가운데로 정렬 */
padding : 20px;
width : 400px;
}
</style>
width : 400px 인 DIV 의 너비 알아보기<br>
padding 좌우 20px, 테두리두께 좌우 각 5px<br>
실제 DIV 의 너비는 450px 입니다.<br>
<div class="css_test">
<br><br>
<button type="button"
onclick="alert($('.css_test')
.outerWidth())">outerWidth 보기</button> <button type="button"
onclick="alert($('.css_test').width())">width 보기(비교용)</button><br>
<br><br>
</div>