From 4a0a16f5036c9b490883c2313598548e3b840ba2 Mon Sep 17 00:00:00 2001 From: jimmacfx Date: Mon, 23 Oct 2006 23:23:29 +0000 Subject: stylesheet tweaks for IE7 git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@17 4fa712ea-3c06-0410-9261-c11b4c06c003 --- www/inc/styles/dark/dark.css | 5 ----- www/inc/styles/ie6workarounds.css | 8 ++++++++ www/inc/www.class.inc.php | 2 ++ 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 www/inc/styles/ie6workarounds.css diff --git a/www/inc/styles/dark/dark.css b/www/inc/styles/dark/dark.css index 8eb796c..1460ca1 100644 --- a/www/inc/styles/dark/dark.css +++ b/www/inc/styles/dark/dark.css @@ -282,11 +282,6 @@ img#preview { margin-right: auto; } -* html img#preview { /* should only match on IE; how pathetic */ - margin-left: -320px; - left: 50%; -} - div.comment { margin: 10px 0px 6px 0px; color: #babdb6; diff --git a/www/inc/styles/ie6workarounds.css b/www/inc/styles/ie6workarounds.css new file mode 100644 index 0000000..d1ae14c --- /dev/null +++ b/www/inc/styles/ie6workarounds.css @@ -0,0 +1,8 @@ +/* + Some workarounds for IE6/Windows +*/ + +html img#preview { /* should only match on IE; how pathetic */ + margin-left: -320px; + left: 50%; +} diff --git a/www/inc/www.class.inc.php b/www/inc/www.class.inc.php index 27683cc..bb61a5c 100644 --- a/www/inc/www.class.inc.php +++ b/www/inc/www.class.inc.php @@ -28,6 +28,8 @@ class C_www { #IE hacks echo "\n"; echo "\n"; -- cgit v1.2.3