Jump to content

opajaap

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About opajaap

  • Rank
    Newbie
  1. The documentation states that the default for the css property display is inline. When i remove 'p {display:inline}' in the tryit editor here: http://www.w3schools.com/cssref/tryit.asp?filename=trycss_display_inline the display changes. So, inline is not the default value for display.
  2. Although the documentation ( http://www.w3schools.com/jsref/event_onresize.asp ) states: I can not get a situation where resizing a div causes the oresize handler to be executed. It looks like onresize only works on the window object and the body tag. Among other things, i tried this, a simple mod to the example code: <!DOCTYPE html><html><head><script>function myFunction(){var w=window.outerWidth;var h=window.outerHeight;var txt="Window size: width=" + w + ", height=" + h;document.getElementById("demo").innerHTML=txt;}</script></head><body>
×
×
  • Create New...