포스트

화면 푸터를 항상 바닥에 놓고 싶을때

1

2

3

4

5

6

7

8

9

10

<script type=”text/javascript”>

//<![CDATA[

         jQuery(window).resize(function(){

        if(jQuery(“section”).height() + jQuery(“footer”).height() + 93 < jQuery(window).height()) {

            jQuery(“section”).css(“height”, jQuery(window).height() - jQuery(“footer”).height() - 93);

        }

    });jQuery(window).resize();

//]]>

</script>

Colored by Color Scripter cs

이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.