Skip to main contentdfsdf

Jeremy Gollehon
  • content-box
     
    This is the initial and default value as specified by the CSS standard. The width and height properties are measured including only the content, but not the padding, border or margin.
  • border-box
     
    The width and height properties include the content, the padding and border, but not the margin.
Jeremy Gollehon
Jeremy Gollehon
  • +1 for jfriend00's answer.

      

    But including jQuery in a page overwrites both of the global symbols jQuery and $ (see jQuery.js line 9579) potentially causing conflicts with other libraries that define a global $.

      

    So taking this a step further to also stop the global $ conflict:

      
    (function($) {     // you can use $ here to refer to jQuery })(jQuery.noConflict());
      

    as demonstrated by:

      
    <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> <script> (function($) {    console.log('want $ to be jQuery here so want true: ' + ($ === jQuery)); })(jQuery.noConflict()); console.log('do not want $ to be jQuery here so want false: ' + ($ === jQuery)); </script>
Robert Sutor

America’s first sustainable urban agrihood is growing in Detroit - Curbed Detroit

"Wait, an agrihood? It’s an alternative neighborhood growth model, positioning agriculture as the centerpiece of a mixed-use development. There are some agrihoods around the country, but in rural areas. This is the first within a city."

Shared by Robert Sutor, 2 saves total

Jeremy Gollehon
  • Six crucial user feedback questions

    <!-- react-text: 269 --> <!-- /react-text -->

    1) What do you think this site offers?

  • 2) Do you trust this site? Why or why not?
  • 3) If you had a magic wand, how would you improve the site?

3 more annotations...

Show more items

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo