From a8c629409bbc78791c3ae7f5f16dac0c90db214d Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 17 Jul 2010 15:49:47 -0600 Subject: Fix margin: 0 auto; IE issue in the upgrader view by adding a doctype to the template. Minor code refactoring. Also seems to fix #1188. --- modules/gallery/css/upgrader.css | 9 ++++----- modules/gallery/views/upgrader.html.php | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/gallery/css/upgrader.css b/modules/gallery/css/upgrader.css index 2b3b5afd..d1b74c31 100644 --- a/modules/gallery/css/upgrader.css +++ b/modules/gallery/css/upgrader.css @@ -9,16 +9,15 @@ h1 { } div#outer { - width: 650px; - background: white; + background: #fff; border: 1px solid #999; margin: 0 auto; - padding: -10px; + width: 650px; } div#inner { - padding: 0 1em 0 1em; - margin: 0px; + margin: 0; + padding: 0 1em; } div#footer { diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index f5cae9be..0ce24ef8 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -1,4 +1,6 @@ + <?= t("Gallery 3 upgrader") ?> -- cgit v1.2.3