diff options
author | root <bryan@olenepal.org> | 2009-08-29 08:40:31 (GMT) |
---|---|---|
committer | root <bryan@olenepal.org> | 2009-08-29 08:40:31 (GMT) |
commit | 510b20bfc2da77b9e4f0f8b7436e12e8b6622e37 (patch) | |
tree | 2f124cf5baf00be5bb203a9e31a1ceb37aea9374 | |
parent | d8c8a6f0a0a1bc66af45dffe389857ea6b178ac4 (diff) |
fixed position of reset button
-rwxr-xr-x | examples/adding_up_to_10/css/mytest.css | 20 | ||||
-rwxr-xr-x | examples/adding_up_to_10/mytest.html | 2 | ||||
-rwxr-xr-x | examples/adding_up_to_10/test.txt | 0 |
3 files changed, 21 insertions, 1 deletions
diff --git a/examples/adding_up_to_10/css/mytest.css b/examples/adding_up_to_10/css/mytest.css index 43a3c10..46bfe62 100755 --- a/examples/adding_up_to_10/css/mytest.css +++ b/examples/adding_up_to_10/css/mytest.css @@ -1,3 +1,4 @@ + #main { height:95%; position:absolute; @@ -195,3 +196,22 @@ height:60%; margin:auto; width:60%; } + +#chimpDiv { + width: 100%; + float: left; +} + +#chimp { +width:60%; +height:80%; +display:block; +margin-left:auto; +margin-right:auto; +float:left; +} +#resetButton { +position:absolute; +top:20%; +} +
\ No newline at end of file diff --git a/examples/adding_up_to_10/mytest.html b/examples/adding_up_to_10/mytest.html index 9f76bc5..63730eb 100755 --- a/examples/adding_up_to_10/mytest.html +++ b/examples/adding_up_to_10/mytest.html @@ -57,7 +57,7 @@ <img id="scorebox" class="sidebarItem" src="assets/generic/images/scorebox.png" alt=""/> </section> <section id="sidebarBottom"> - <img id="chimp" class="sidebarItem" src="assets/generic/images/normalChimp_200x209.png" alt=""/> + <div id="chimpDiv"><img id="chimp" class="sidebarItem" src="assets/generic/images/normalChimp_200x209.png" alt=""/></div> <button id="buttonReset" class="sidebarItem">RESET</button> </section> diff --git a/examples/adding_up_to_10/test.txt b/examples/adding_up_to_10/test.txt new file mode 100755 index 0000000..e69de29 --- /dev/null +++ b/examples/adding_up_to_10/test.txt |