Sent by Gunlaug_Sørtun on 20 February 2009 23:11
Travis Killen wrote:
> I am having a problem with IE7 displaying my popup menus behind other
> elements.
> http://forestry.sfasu.edu/
IE7 and older can't stack an element above the element's parent level.
This means those pop-ups can't get above the positioned elements further
down in the markup.
No such problems in IE8 and other browsers.
Unless you want to restructure the entire markup/style complex to go
with IE7's old bugs - something I won't recommend, you have to pull old
IE out of the stacking-contest.
The following addition will do wonders for old IE...
/* for IE7 */
*+html #special, *+html #news, *+html #special * {position:
static!important;}
*+html #special a {margin-top: -50px;}
/* for IE6 (and older) */
* html #special, * html #news, * html #special * {position:
static!important;}
* html #special a {margin-top: -50px;}
* html #nav a {height: 1%;}
* html #special ul#mainlevel li {width: 270px; /* IE6 in quirks mode */}
....without affecting other browsers.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/