Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 4 | --> |
michael@0 | 5 | <html> |
michael@0 | 6 | <head> |
michael@0 | 7 | <style> |
michael@0 | 8 | span { |
michael@0 | 9 | background-image: -moz-element(#g); |
michael@0 | 10 | display: inline-block; |
michael@0 | 11 | margin-left: 1px; |
michael@0 | 12 | } |
michael@0 | 13 | #repeat { |
michael@0 | 14 | width: 38px; |
michael@0 | 15 | height: 38px; |
michael@0 | 16 | background-repeat: repeat; |
michael@0 | 17 | } |
michael@0 | 18 | #norepeat { |
michael@0 | 19 | width: 19px; |
michael@0 | 20 | height: 19px; |
michael@0 | 21 | background-repeat: no-repeat; |
michael@0 | 22 | background-position: center center; |
michael@0 | 23 | } |
michael@0 | 24 | </style> |
michael@0 | 25 | </head> |
michael@0 | 26 | <body> |
michael@0 | 27 | <span id="repeat"></span><br/> |
michael@0 | 28 | <span id="norepeat"></span> |
michael@0 | 29 | <div style="overflow:hidden; height:0px"> |
michael@0 | 30 | <div id="g" style="width:17px; height:17px; border:1px solid red; |
michael@0 | 31 | background: orange;"></div> |
michael@0 | 32 | </div> |
michael@0 | 33 | </body> |
michael@0 | 34 | </html> |
michael@0 | 35 |