aboutsummaryrefslogtreecommitdiff
path: root/www/inc
diff options
context:
space:
mode:
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2006-10-23 23:23:29 +0000
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2006-10-23 23:23:29 +0000
commit4a0a16f5036c9b490883c2313598548e3b840ba2 (patch)
tree95fbb04d941f7077d63b967273e404e2c1257f22 /www/inc
parentaab7e00c8421caeb40d29c273d6407f04ad88d79 (diff)
downloadoriginal-4a0a16f5036c9b490883c2313598548e3b840ba2.tar.gz
original-4a0a16f5036c9b490883c2313598548e3b840ba2.tar.bz2
stylesheet tweaks for IE7
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@17 4fa712ea-3c06-0410-9261-c11b4c06c003
Diffstat (limited to 'www/inc')
-rw-r--r--www/inc/styles/dark/dark.css5
-rw-r--r--www/inc/styles/ie6workarounds.css8
-rw-r--r--www/inc/www.class.inc.php2
3 files changed, 10 insertions, 5 deletions
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 "<!-- This makes IE6 suck less (a bit) -->\n";
echo "<!--[if lt IE 7]>\n";
+ echo "<link rel=\"stylesheet\" type=\"text/css\" ";
+ echo "href=\"inc/styles/ie6workarounds.css\" />\n";
echo "<script src=\"inc/styles/ie7/ie7-standard.js\" type=\"text/javascript\">\n";
echo "</script>\n";
echo "<![endif]-->\n";