aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views')
-rw-r--r--mod/profile/views/default/profile/css.php6
-rw-r--r--mod/profile/views/default/profile/javascript.php5
2 files changed, 5 insertions, 6 deletions
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index 234d6fb39..5083e73d1 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -36,9 +36,9 @@
background:#FFFFFF;
text-align:left;
}
-
-* html .usericon div.sub_menu { } /* IE6 */
-*+html .usericon div.sub_menu { } /* IE7 */
+div.usericon a.icon img {
+ z-index:10;
+}
.usericon div.sub_menu a {margin:0;padding:2px;}
.usericon div.sub_menu a:link,
diff --git a/mod/profile/views/default/profile/javascript.php b/mod/profile/views/default/profile/javascript.php
index 24bf20689..4e96279bb 100644
--- a/mod/profile/views/default/profile/javascript.php
+++ b/mod/profile/views/default/profile/javascript.php
@@ -65,10 +65,9 @@ function setup_avatar_menu() {
.fadeIn('normal');
}
- // fix for ie z-index bug
- //submenu.css("z-index", parseInt( new Date().getTime()/100000000 ));
-
+ // force z-index - workaround for IE z-index bug
avatar.css("z-index", submenuLayer);
+ avatar.find("a.icon img").css("z-index", submenuLayer);
submenu.css("z-index", submenuLayer+1);
submenuLayer++;