scrollOverflowTest.css 392 B

1234567891011121314151617181920
  1. body {
  2. text-align:center;
  3. }
  4. #container {
  5. width:30em;
  6. height:30em;
  7. border:4px dotted silver;
  8. overflow:scroll;
  9. position:relative;
  10. margin-left:auto;
  11. margin-right:auto;
  12. }
  13. .w { width:3em; height:3em; position:absolute; border:1px dotted black; z-index:5;}
  14. #w1 { left:3em; top:3em }
  15. #w2 { left:23em; top:23em }
  16. ._jsPlumb_connector { z-index:4; }
  17. ._jsPlumb_endpoint { z-index:3; }