com web/php: Fix the mega drop down background colour overflowing in IE ≤ 7. (I'm presuming we don't real ly care about IE 6, but 7 might just ab
out be worth still vaguely trying to support a bit.): include/header.inc
| From: | Paul Dragoonis | Date: | Fri, 07 Jan 2011 11:20:22 +0000 |
| Subject: | com web/php: Fix the mega drop down background colour overflowing in IE ≤ 7. (I'm presuming we don't real ly care about IE 6, but 7 might just ab out be worth still vaguely trying to support a bit.): include/header.inc |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23628@lists.php.net to get a copy of this message | ||
Commit: 65e3f1a87e56f87204919de9bf2e13be53ab8afb
Author: Adam Harvey <aharvey@php.net> Fri, 7 Jan 2011 11:20:22 +0000
Parents: a9b95f046cb88c870432d0f242f17dc2b5586972
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=65e3f1a87e56f87204919de9bf2e13be53ab8afb
Log:
Fix the mega drop down background colour overflowing in IE ≤ 7. (I'm presuming
we don't really care about IE 6, but 7 might just about be worth still vaguely
trying to support a bit.)
Changed paths:
M include/header.inc
Diff:
diff --git a/include/header.inc b/include/header.inc
index 5eb3fe1..0c53e4e 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -53,6 +53,12 @@ if (isset($shortname) && $shortname) {
<link rel="stylesheet" type="text/css" href="<?php echo
$STATIC_ROOT ?>styles/home.css<?php echo $v?>" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo
$STATIC_ROOT ?>styles/dynamic.php<?php echo $v?>" media="screen" />
+ <!--[if lte IE 7]>
+ <style type="text/css">
+ #layout { background: white; }
+ </style>
+ <![endif]-->
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script>
<script type="text/javascript">