返回值:BooleanjQuery.boxModel

Deprecated in jQuery 1.3 (see jQuery.support). States if the current page, in the user's browser, is being rendered using the W3C CSS Box Model.

示例:

Returns the box model for the iframe.

<!DOCTYPE html>
<html>
<head>
<style>

  p { color:blue; margin:20px; }
  span { color:red; }
  </style>
<script src="jquery.min.js"></script>
</head>
<body>

<p>
  </p>

<script>



    $("p").html("The box model for this iframe is: <span>" +
                jQuery.boxModel + "</span>");


</script>
</body>
</html>
演示:

示例:

Returns false if the page is in Quirks Mode in Internet Explorer

jQuery 代码:
$.boxModel
结果:
false