diff options
Diffstat (limited to 'www/inc')
-rw-r--r-- | www/inc/styles/dark/dark.css | 5 | ||||
-rw-r--r-- | www/inc/styles/ie6workarounds.css | 8 | ||||
-rw-r--r-- | www/inc/www.class.inc.php | 2 |
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"; |