목록분류 전체보기 (129)
.
보호되어 있는 글입니다.
보호되어 있는 글입니다.
보호되어 있는 글입니다.
I think it is so it can keep consistency with the available options used when settings multiple css styles in one function call through the use of an object, for example... $(".element").css( { marginLeft : "200px", marginRight : "200px" } ); as you can see the property are not specified as strings. JQuery also supports using string if you still wanted to use the dash, or for properties that per..

width 값 만 가져오는경우, width, padding 값만 가져오는 경우, width, padding, border 값만 가져오는 경우, width, padding, border, margin 까지 다 가져오는 경우 .width() : 딱 요소의 크기 순수한 크기 만큼만. .innerWidth() : 요소의 width 값과 padding 값을 더한 값. .outerWidth() : 요소의 width 값과 padding 값과 border 값을 더한 값. .outerWidth(true) : .outerWidth() 메서드에 parameter 로 true 를 넘겨줄 경우 요소의 width 값과 padding 값과 border 값과 margin 값까지 더한 크기(default 는 false 로 되어 있다...