jQuery.boxModel in JQuery


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.

  • version added: 1.0jQuery.boxModel


Example: Returns the box model for the iframe.

<!DOCTYPE html>

  p { color:blue; margin:20px; }
  span { color:red; }
  <script src="/scripts/jquery-1.4.js"></script>

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

Leave a Reply

Your email address will not be published. Required fields are marked *