Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- Any copyright is dedicated to the Public Domain. |
michael@0 | 2 | http://creativecommons.org/publicdomain/zero/1.0/ --> |
michael@0 | 3 | <html> |
michael@0 | 4 | <head> |
michael@0 | 5 | <style> |
michael@0 | 6 | .relpos_parent { |
michael@0 | 7 | position: relative; |
michael@0 | 8 | width: 100px; |
michael@0 | 9 | height: 100px; |
michael@0 | 10 | background: lightblue; |
michael@0 | 11 | } |
michael@0 | 12 | .abspos_child { |
michael@0 | 13 | position: absolute; |
michael@0 | 14 | left: 30px; |
michael@0 | 15 | bottom: 10px; |
michael@0 | 16 | width: 20px; |
michael@0 | 17 | height: 20px; |
michael@0 | 18 | background: purple; |
michael@0 | 19 | } |
michael@0 | 20 | </style> |
michael@0 | 21 | </head> |
michael@0 | 22 | <body> |
michael@0 | 23 | <div class="relpos_parent"> |
michael@0 | 24 | <div class="abspos_child"></div> |
michael@0 | 25 | </div> |
michael@0 | 26 | </body> |
michael@0 | 27 | </html> |