From 9d783dbe2e1a57e4de3ca4940c58b1666f035038 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 17 Dec 2008 15:01:24 -0500 Subject: [PATCH] added support for ie6 --- .htaccess | 1 + code/ie_detect.php | 9 +++++++++ css_mangler.php | 27 +++++++++++++++++++++++++++ index.html | 2 +- tasks.css | 4 ++++ 5 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 code/ie_detect.php create mode 100644 css_mangler.php diff --git a/.htaccess b/.htaccess index a7bee83..6f5c6ec 100644 --- a/.htaccess +++ b/.htaccess @@ -6,3 +6,4 @@ RewriteEngine on RewriteRule ^$ /run.php RewriteRule ^[^/]*\.html$ /run.php RewriteRule ^[^/.]*$ /run.php +RewriteRule ^[^/]*.css$ /css_mangler.php [L] diff --git a/code/ie_detect.php b/code/ie_detect.php new file mode 100644 index 0000000..904cbb8 --- /dev/null +++ b/code/ie_detect.php @@ -0,0 +1,9 @@ + diff --git a/css_mangler.php b/css_mangler.php new file mode 100644 index 0000000..03e55f9 --- /dev/null +++ b/css_mangler.php @@ -0,0 +1,27 @@ + diff --git a/index.html b/index.html index 806ce88..41b508a 100644 --- a/index.html +++ b/index.html @@ -43,7 +43,7 @@

Queued tasks

Jason hasn't started on these yet, so you can change them if you want. At some point you'll also be able to prioritize them.
- + diff --git a/tasks.css b/tasks.css index 6adaf9c..d3c63f8 100644 --- a/tasks.css +++ b/tasks.css @@ -38,8 +38,12 @@ background: #fff url(images/updown.png) right 50% no-repeat; padding: 5px 20px 5px 5px; text-align: right; + /* This looks _horrible_ on ie6, but it works + remove this line for IE 5.5 and 6 */ } .updown:hover .updown_links { + /* remove this line for IE 5.5 and 6 + */ right: -1px; } -- 1.7.10.4