<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Facility9 &#187; ie7</title>
	<atom:link href="http://facility9.com/tag/ie7/feed/" rel="self" type="application/rss+xml" />
	<link>http://facility9.com</link>
	<description>Jeremiah Peschka - professional something or other</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:00:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IE7, dropdowns, and z-index</title>
		<link>http://facility9.com/2008/07/ie7-dropdowns-and-z-index/</link>
		<comments>http://facility9.com/2008/07/ie7-dropdowns-and-z-index/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 15:18:55 +0000</pubDate>
		<dc:creator>Jeremiah Peschka</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[syndication]]></category>
		<category><![CDATA[hackery]]></category>
		<category><![CDATA[ie7]]></category>

		<guid isPermaLink="false">http://facility9.com/2008/07/17/ie7-dropdowns-and-z-index/</guid>
		<description><![CDATA[I spent most of yesterday and most of this morning battling with a IE7 display bug. Back story: we are using jQuery&#8217;s superfish drop down menus (a jQuery based implement of suckerfish/son of suckerfish) for site navigation. Everything works great in Firefox 2/3 and Safari. I&#8217;m going to assume that IE6 looks great as well&#8230;]]></description>
			<content:encoded><![CDATA[<p>I spent most of yesterday and most of this morning battling with a IE7 display bug.</p>
<p>Back story: we are using jQuery&#8217;s superfish drop down menus (a jQuery based implement of suckerfish/son of suckerfish) for site navigation.  Everything works great in Firefox 2/3 and Safari.  I&#8217;m going to assume that IE6 looks great as well since suckerfish is known to work well in IE6.</p>
<p>IE7 is a different story.</p>
<p>There is a large image directly beneath the navigation menu.  Unfortunately for me, in IE7 the menu was being rendered beneath the image, despite having a z-index of 1001.  </p>
<p>After some careful (and careless) digging and googling, I came across <a href="http://forums.digitalpoint.com/showpost.php?s=342944c431955c86ef8c99dca9bcdc4b&amp;p=6669834&amp;postcount=12">a solution</a>.</p>
<p>To summarize, IE7 will not render the menu with the appropriate z-index unless that z-index is present on the top level :hover style.  To clarify:</p>
<p><code><br />
/*** ESSENTIAL STYLES ***/<br />
.sf-menu, .sf-menu * {<br />
	margin:			0;<br />
	padding:		0;<br />
	list-style:		none;<br />
}<br />
.sf-menu {<br />
	line-height:	1.0;<br />
}<br />
.sf-menu ul {<br />
	position:		absolute;<br />
	top:			-999em;<br />
}<br />
.sf-menu li:hover {<br />
	z-index: 100; /* This is the important style directive, without it IE7 chokes */<br />
}<br />
.sf-menu * li:hover {<br />
	visibility:		inherit; /* fixes IE7 'sticky bug' */<br />
	font-weight:	bold;<br />
}<br />
</code></p>
<p><a href='http://d1kpgdt94igfig.cloudfront.net/wp-content/uploads/2008/07/ie7suckerfishhover.css.gzip' title='IE7 Suckerfish Hover CSS'>IE7 Suckerfish Hover CSS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://facility9.com/2008/07/ie7-dropdowns-and-z-index/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching 3/13 queries in 0.006 seconds using disk: basic
Object Caching 374/390 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d1kpgdt94igfig.cloudfront.net

Served from: facility9.com @ 2012-02-11 03:07:42 -->
