Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style> |
michael@0 | 5 | #container { |
michael@0 | 6 | position: absolute; |
michael@0 | 7 | width: 200px; |
michael@0 | 8 | height: 200px; |
michael@0 | 9 | overflow: scroll; |
michael@0 | 10 | } |
michael@0 | 11 | #image { |
michael@0 | 12 | width: 100px; |
michael@0 | 13 | height: 100px; |
michael@0 | 14 | margin: 100px; |
michael@0 | 15 | background: blue; |
michael@0 | 16 | display: inline-block; |
michael@0 | 17 | } |
michael@0 | 18 | #cursor { |
michael@0 | 19 | position: absolute; |
michael@0 | 20 | left: 10px; |
michael@0 | 21 | top: 0; |
michael@0 | 22 | width: 10px; |
michael@0 | 23 | height: 10px; |
michael@0 | 24 | background: red; |
michael@0 | 25 | } |
michael@0 | 26 | </style> |
michael@0 | 27 | </head> |
michael@0 | 28 | <body> |
michael@0 | 29 | <div id='container'> |
michael@0 | 30 | <div id='image'></div> |
michael@0 | 31 | <div id='cursor'></div> |
michael@0 | 32 | </div> |
michael@0 | 33 | </body> |
michael@0 | 34 | </html> |