1 reply [Last post]
Whoisdan
Offline
Regular
Chicago
Last seen: 17 years 35 weeks ago
Chicago
Joined: 2004-03-31
Posts: 18
Points: 0

Hey, got this little site here and it works fine on everything except WinIE. The problem is that I have a subnav that doesn't show up. Absolutely no idea why. Any ideas?

The Site:
http://sedlackdesign.com/creative/work/

and some CSS:
http://www.sedlackdesign.com/styles/all.css

Fruitcake
Offline
Enthusiast
Perth, Australia
Last seen: 13 years 36 weeks ago
Perth, Australia
Timezone: GMT+8
Joined: 2004-04-12
Posts: 257
Points: 0

Subnav menus not working on WinIE??

Hello.

Found your CSS rather confusing Tongue

However, All i can think of is either IE is persisting the the display: none; attribute or you may need to set the z-index higher. Be careful with the absolute positioning, IE may be rendering the subnav outside of the viewport.

Not sure if it will work but try being more specific here:

body.section-1 #menu ul#subnav-1, 
body.section-2 #menu ul#subnav-2,
body.section-3 #menu ul#subnav-3,
body.section-4 #menu ul#subnav-4,
body.section-5 #menu ul#subnav-5,
body.section-6 #menu ul#subnav-6,
body.section-7 #menu ul#subnav-7 {
	display: block !important;
	left: -124px;
	position: absolute;
	top: 28px;
	z-index: 2;
}

by adding the li in the heirarchy like so:

body.section-1 #menu li ul#subnav-1, 
body.section-2 #menu li ul#subnav-2,
body.section-3 #menu li ul#subnav-3,
body.section-4 #menu li ul#subnav-4,
body.section-5 #menu li ul#subnav-5,
body.section-6 #menu li ul#subnav-6,
body.section-7 #menu li ul#subnav-7 {
	display: block !important;
	left: -124px;
	position: absolute;
	top: 28px;
	z-index: 2;
}

Someone else may be able to shed some more light but that's all i can offer for the moment Smile

Dan.

I am Dan, Dan I am.