4 replies [Last post]
roscoe
roscoe's picture
Offline
Enthusiast
Last seen: 13 years 51 weeks ago
Joined: 2006-03-09
Posts: 138
Points: 0

html: http://beast.bsa.kent.edu/projects/anthony/header/
css: http://beast.bsa.kent.edu/projects/anthony/header/css/main.css
css: http://beast.bsa.kent.edu/projects/anthony/header/css/dropdown.css

I have tested my drop down menu on FireFox and IE6 and it works perfect, but when I test it in IE7 it doesn't load below the main heading, it loads to the side right next to it. Can anyone please help me out with how to fix or get around this? I would really appreciate any feedback you can give me. Thanks.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 38 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

My guess would be this

My guess would be this line:

#nav li > ul {top: auto; left: auto;}

IE6 doesn't understand the child selector (the > ) but IE7 does. I don't know if you actually need that rule at all cos I took it out and it made no change in FF2. You'll need to test it out in other browsers though.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

roscoe
roscoe's picture
Offline
Enthusiast
Last seen: 13 years 51 weeks ago
Joined: 2006-03-09
Posts: 138
Points: 0

That worked out perfect,

That worked out perfect, thanks a lot.

steakz
Offline
newbie
Last seen: 15 years 22 weeks ago
Joined: 2007-02-02
Posts: 3
Points: 0

SAME problem with IE 7, but no luck with this fix.

Hi! I am a new user here, and am working on a website for a school district. I had everything working perfectly then IE 7 came out and everything began to get shifted over in my drop down menus. I tried looking for a similar piece of code as roscoe, but no luck. Can anyone help me here? Perhaps it is an easy fix, but I can;t seem to catch the bug! Thanks so much for the HELP!

http://www.rit.edu/~mmp0781/ChiWeb_all/Site_2.07/: html
http://www.rit.edu/~mmp0781/ChiWeb_all/Site_2.07/fusionStyle.css: css
http://www.rit.edu/~mmp0781/ChiWeb_all/Site_2.07/dropdownMenu.js: javascript

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 10 weeks 3 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

mod edit/thread closed - see

Verschwindende wrote:
  • CSS doesn't make pies