jQuery.boxModel

jQuery.boxModel ( ) Returns: Booleanversion added: 1.0

Description: 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.

Examples:

Example: Returns the box model for the iframe.

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>css demo</title>

  <style>

  p {
    color: blue;
    margin: 20px;
  }
  span {
    color: red;
  }

  </style>

  <script src="//code.jquery.com/jquery-1.10.2.js"></script>
</head>
<body>
  

<p></p>

<script>

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

</script>

  
</body>
</html>

Demo:

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

$.boxModel