diff MoinMoin/theme/__init__.py @ 4719:f976af4e61f1

apply msie.css only for Internet Explorer older than version 8
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 01 May 2009 17:04:40 +0200
parents 6268799f3966
children 9a26c69ccf5a 4d2bc24c7723
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Wed Apr 29 22:10:47 2009 +0200
+++ b/MoinMoin/theme/__init__.py	Fri May 01 17:04:40 2009 +0200
@@ -672,8 +672,8 @@
         cfg_css = [self._stylesheet_link(False, *stylesheet) for stylesheet in request.cfg.stylesheets]
 
         msie_css = """
-<!-- css only for MSIE browsers -->
-<!--[if IE]>
+<!-- css only for MS IE6/IE7 browsers -->
+<!--[if lt IE8]>
    %s
 <![endif]-->
 """ % self._stylesheet_link(True, 'all', 'msie')