Forum Moderators: not2easy

Message Too Old, No Replies

CSS Menu Breaks in IE7

Don't even know where to begin fixing this one...

         

firewaterx

7:04 pm on Dec 12, 2006 (gmt 0)

10+ Year Member



I recently took over the website for a local Humane Society and noticed that the CSS menu that it currently uses breaks in IE7. It appears to work fine in IE6, Firefox, etc... Just not IE7. I plan on recoding and putting in a whole new layout soon, but don't have the time yet. If anyone has any ideas on what I can do to make the menu work in IE7, without recoding everything, please let me know.

Thanks in advance...

[edited by: encyclo at 7:56 pm (utc) on Dec. 12, 2006]
[edit reason] no personal URLs please, see forum charter [/edit]

penders

8:24 pm on Dec 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi firewaterx ... welcome to WebmasterWorld,

On glancing over your CSS, it seems to be free from IE hacks, but you have a conditional comment that includes CSS for IE6... perhaps you simply need to modify this to include IE7 also ...?

<!--[if IE 6]> 
<style>
#navlist a {height: 1em;}
</style>
<![endif]-->

Change to:

<!--[if gte IE 6]> 
...

(gte - Greater Than or Equal to...)

In what way does your menu break in IE7? (I don't have it installed here)

firewaterx

9:11 pm on Dec 12, 2006 (gmt 0)

10+ Year Member



That was amazingly simple! It worked like a charm... Thanks for your help!