From 1232935c61f7287022a8551c0a78bd4d319d8ba1 Mon Sep 17 00:00:00 2001 From: Jonathan Stanley Date: Sat, 7 Apr 2007 02:18:17 +0000 Subject: [PATCH] #8776 Numerous minimal test-cases and re-ordering of markup to attempt to get the same effect (way to spend 6 hours... thanks Internet Explorer @_@), it seems IE will randomly destroy the ability of 's with "display: block" to have negative margin when they are children of blocks which have padding. Have removed said padding from the offending parent and change the left-corner image to one that is _5000px_ wide (should cover QHDTV resolutions? :P), which creates the "double-border" effect top and bottom via a kind of a "sliding doors" way. IE7 works now, though there's some weird footer "flicker" when the menu is hovered (IE6 just does this al the while @_@). Better than nothing for now. Alternatively, nuke every PC which has IE installed. @_@ git-svn-id: file:///svn/phpbb/trunk@7292 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/images/corners_left.gif | Bin 174 -> 796 bytes phpBB/adm/style/admin.css | 20 +++++++------------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/phpBB/adm/images/corners_left.gif b/phpBB/adm/images/corners_left.gif index fdba34adbc886a0e49e5f8fd094b6d59ceac68b8..bacd27649559fe68d1b833ee6cc3947804de00d9 100644 GIT binary patch delta 764 zcmV;BupU|juO08P2*sONT?Rvl9uy{-^ zo6qR9dd+UT-|)D6POsbV_`H74@B9CNfr5jCg@%WSQUeVK1rY#{k&=^?m6n&7nVOrN zot~edp`xRtrKYEUsHv)}tgWuEu(7hUw6(UkxVgH!yuH4^z`?@9#Kp$P$jQpf%+1cv z(9zP<)YaD4*xB0K+}+;a;Njxqcgo+{v@2&!0ep3LQ$csL`WHlPX=xw5ijlP@_tnO0}xht5~yY-AWQc z0RUXXiXBU~tl6_@)2dy|wyoQ@aO29IOSi7wyLj{J-OIPH-@kwZ3m#0ku;Igqi!xYX zAhF}ekRwZfo=my2<;$2eYu?Pcv**vCLyI0wy0q!js8g$69XbGje5_;3o=v;9?c2C> z>)y?~x9{J;g9{%{ytwh>$dfCV;2QSw=g^}|pH98H_3PNPYv0bjyZ7(l!;2qJzVzb8 z<)+2GuUD}B1t{QufCLt3;DHDxsNk7`3^wTCgAhh2 z;dS)bgU^H*W~kwY9Cqm8haiS1;)o=cXyS<|=Cw#82FT;$i!jD00+o_zM{=bwNEDkvNw0029pDZ%sr delta 137 zcmV;40CxYJ2Ce}{M@dFFIbj9>3;@Iu0RR90+t<doc8wi znwpyV`T4T4vZ<)1yt=ootg4@%p7iweprD`s|NoIu9FbrPk!=k$1^^5I00k>x5D-o@ r1kF-F0Fej)A}|FY-G^e_(f|lN9}uVG(QG#tOomb!03y<35CQ-@LO4Ps diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 0a5710f38c..3410034803 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -285,26 +285,15 @@ a:active { ---------------------------------------- */ #acp { margin: 4px 0; - padding: 1px; + padding: 3px 1px; min-width: 550px; background-color: #FFFFFF; border: 1px #999999 solid; } -/* WinIE tweaks \*/ -* html .box .corner1 { width: 6px; background-position: 2px 0px; } -* html .box .corner3 { width: 6px; background-position: 2px -7px; } -* html .box .corner2, * html .box .corner4 { width: 7px; } -/* End tweaks */ - -/* Moz tweak to fix occasional 1px vertical rounding error with the -bottom corners. - The corner image is 1px taller so we make the container a bit taller too */ -html>body .box .corner3, html>body .box .corner4 { height: 6px; } - .panel { background: #F3F3F3 url("../images/innerbox_bg.gif") repeat-x top; - padding: 2px 0; + padding: 0; } span.corners-top, span.corners-bottom, @@ -339,6 +328,11 @@ span.corners-bottom span { background-position: 100% 100%; } +/* WinIE tweaks \*/ +* html span.corners-top, * html span.corners-bottom { background-image: url("../images/corners_left.gif"); } +* html span.corners-top span, * html span.corners-bottom span { background-image: url("../images/corners_right.gif"); } +/* End tweaks */ + /* Sub-navigation Menu ---------------------------------------- */