diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2014-08-02 21:11:24 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2014-08-02 21:11:24 +0200 |
commit | a26171ddfa7a658b554f821bef30ac4080fa46dd (patch) | |
tree | 4e46bb6b6c763f69acfbac6ba56a3fa73912c0d8 /css | |
parent | 32dd2c2e711223722e3f5a45b362d5cadd802b47 (diff) |
Updated width fix. Last one didn't work on firefox.
Diffstat (limited to 'css')
-rw-r--r-- | css/styles.css | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/css/styles.css b/css/styles.css index c0bb0b2..41e49b0 100644 --- a/css/styles.css +++ b/css/styles.css @@ -3,15 +3,21 @@ body { } html, body, #interactive-pacbot, #interactive-pacbot>canvas { - max-height: 100%; - max-width: 100%; - height: auto; - width: auto; margin: 0px; padding: 0px; } +html, body, #interactive-pacbot { + height: 100%; + width: 100%; +} + #interactive-pacbot>canvas { margin-left: auto; margin-right: auto; + + max-height: 100%; + max-width: 100%; + height: auto; + width: auto; } |