summaryrefslogtreecommitdiffstats
path: root/STARTERKIT
diff options
context:
space:
mode:
authorJohnAlbin2011-04-04 17:46:26 +0800
committerJohnAlbin2011-04-04 17:46:26 +0800
commit8f9c4120f5381e37ad533f87b971b64f215fc129 (patch)
tree760b3579e3bb6686b0bbb3d615b275df90bbd7f4 /STARTERKIT
parent47265520b87297c491013e73947a07f269392c2a (diff)
Issue #1115330 by JohnAlbin: Styling in ie.css is only needed for IE7 and earlier
Diffstat (limited to 'STARTERKIT')
-rw-r--r--STARTERKIT/STARTERKIT.info.txt6
-rw-r--r--STARTERKIT/css/README.txt6
-rw-r--r--STARTERKIT/css/ie7.css (renamed from STARTERKIT/css/ie.css)8
3 files changed, 12 insertions, 8 deletions
diff --git a/STARTERKIT/STARTERKIT.info.txt b/STARTERKIT/STARTERKIT.info.txt
index b7675b6..e2cdecc 100644
--- a/STARTERKIT/STARTERKIT.info.txt
+++ b/STARTERKIT/STARTERKIT.info.txt
@@ -54,9 +54,11 @@ stylesheets[print][] = css/print.css
;stylesheets[handheld][] = css/mobile.css
;stylesheets[only screen and (max-device-width: 480px)][] = css/iphone.css
-; Add conditional stylesheets that are processed by IE.
+; Add conditional stylesheets that are processed by IE. See the css/README.txt.
-stylesheets-conditional[IE][all][] = css/ie.css
+; To target all versions of IE with an ie.css, uncomment the following line:
+;stylesheets-conditional[IE][all][] = css/ie.css
+stylesheets-conditional[lte IE 7][all][] = css/ie7.css
stylesheets-conditional[lte IE 6][all][] = css/ie6.css
diff --git a/STARTERKIT/css/README.txt b/STARTERKIT/css/README.txt
index 9461d25..1fe2431 100644
--- a/STARTERKIT/css/README.txt
+++ b/STARTERKIT/css/README.txt
@@ -87,12 +87,14 @@ theming Drupal websites.
- print.css:
The print styles for all markup.
-- ie.css:
+- ie7.css:
- ie6.css:
The Internet Explorer stylesheets are added via conditional comments. Many CSS
authors find using IE "conditional stylesheets" much easier then writing
rulesets with CSS hacks that are known to only apply to various versions of
- IE. An alternative method presented by Paul Irish can be found at
+ IE. The full conditional comment syntax can be found on Microsoft's website:
+ http://msdn.microsoft.com/en-us/library/ms537512.aspx
+ An alternative method presented by Paul Irish can be found at
http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
In these stylesheets, we have included all of the classes and IDs from this
diff --git a/STARTERKIT/css/ie.css b/STARTERKIT/css/ie7.css
index e9354ff..70bfa2b 100644
--- a/STARTERKIT/css/ie.css
+++ b/STARTERKIT/css/ie7.css
@@ -1,10 +1,10 @@
/**
* @file
- * CSS targeted specifically for Internet Explorer for Windows.
+ * CSS targeted specifically for Internet Explorer 7 (and earlier) for Windows.
*
- * Any CSS in this file will apply to all versions of IE. You can target
- * specific versions of IE by using conditional comments. See your sub-theme's
- * .info file for an easy way to use them.
+ * Any CSS in this file will apply to all versions of IE before IE 8. You can
+ * target specific versions of IE by using conditional comments. See your
+ * sub-theme's .info file for an easy way to use them.
*/