commit 521bdbe15502bef15c0f3ef846fbfd47d91bf2db parent f16a05a05363d45debb4616f44207c6f195b9969 Author: Ryan Wolf <rwolf@borderstylo.com> Date: Fri, 25 Jun 2010 15:59:03 -0700 adds red box to bottom right corner Diffstat:
| M | chrome/content/binding.xml | | | 14 | ++++++++------ |
| M | chrome/skin/stylesheets/stylesheet.css | | | 30 | ++++++++++++++++++++++++++++++ |
2 files changed, 38 insertions(+), 6 deletions(-)
diff --git a/chrome/content/binding.xml b/chrome/content/binding.xml @@ -1,18 +1,20 @@ <?xml version="1.0"?> <xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl" - xmlns:html="http://www.w3.org/1999/xhtml"> + xmlns="http://www.w3.org/1999/xhtml"> <xbl:binding id="seats" inheritstyle="false"> <xbl:resources> <xbl:stylesheet src="chrome://mft3k/skin/stylesheets/stylesheet.css" /> </xbl:resources> <xbl:content> <xbl:children includes="head" /> - <html:body id="stack"> - <html:div id="page"> + <body id="stack"> + <div id="page"> <xbl:children /> - </html:div> - <html:div id="seats" /> - </html:body> + </div> + <div id="seats"> + <div id="test" /> + </div> + </body> </xbl:content> </xbl:binding> </xbl:bindings> diff --git a/chrome/skin/stylesheets/stylesheet.css b/chrome/skin/stylesheets/stylesheet.css @@ -0,0 +1,30 @@ +#stack { + display: -moz-stack; + padding: 0; + margin: 0; +} + +#page { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; +} + +#seats { + position: fixed; + top: 0; + left: 0; + height: 100%; + width: 100%; +} + +#test { + position: fixed; + bottom: 0; + right: 0; + height: 100px; + width: 100px; + background-color: red; +}