[aur-dev] [PATCH 4/7] split out the ie6 css into ie6 specific css file

elij elij.mx at gmail.com
Mon Apr 4 17:44:08 EDT 2011


---
 web/html/css/archnavbar/archnavbar.css |    6 +-----
 web/html/css/archnavbar/ie6.css        |    2 ++
 2 files changed, 3 insertions(+), 5 deletions(-)
 create mode 100644 web/html/css/archnavbar/ie6.css

diff --git a/web/html/css/archnavbar/archnavbar.css b/web/html/css/archnavbar/archnavbar.css
index e8ade28..dd69382 100644
--- a/web/html/css/archnavbar/archnavbar.css
+++ b/web/html/css/archnavbar/archnavbar.css
@@ -10,11 +10,7 @@
 #archnavbar { height: 40px !important; padding: 10px 15px !important; background: #333 !important; border-bottom: 5px #08c solid !important; }
 
 /* logo trickery -- GIF for IE6 and PNG for the rest */
-#archnavbarlogo { float: left !important; margin: 0 !important; padding: 0 !important; height: 40px !important; width: 190px !important; }
-/* IE6 doesn't support alpha PNGs so we serve it a GIF */
-#archnavbarlogo { background: url('archlogo.gif') no-repeat !important; }
-/* and use a proper PNG for all other modern browsers */
-html > body #archnavbarlogo { background: url('archlogo.png') no-repeat !important; }
+#archnavbarlogo { float: left !important; margin: 0 !important; padding: 0 !important; height: 40px !important; width: 190px !important; background: url('archlogo.png') no-repeat !important; }
 
 /* move the heading/paragraph text offscreen */
 #archnavbarlogo p { margin: 0 !important; padding: 0 !important; text-indent: -9999px !important; }
diff --git a/web/html/css/archnavbar/ie6.css b/web/html/css/archnavbar/ie6.css
new file mode 100644
index 0000000..3f5b072
--- /dev/null
+++ b/web/html/css/archnavbar/ie6.css
@@ -0,0 +1,2 @@
+/* IE6 doesn't support alpha PNGs so we serve it a GIF */
+#archnavbarlogo { background: url('archlogo.gif') no-repeat !important; }
-- 
1.7.4.1



More information about the aur-dev mailing list