DarrelMan Posted July 28, 2012 Share Posted July 28, 2012 I am very, very new to CSS. I have a drop down that works perfectly fine in Chrome and FireFox but does not work in Internet Explorerer and I cannot figure out why. I would appreciate any help given. Thanks home.html menu.css style.css Link to comment Share on other sites More sharing options...
softdoni Posted July 30, 2012 Share Posted July 30, 2012 Hello #DarrelMan First you forget to close one sentence in your CSS "menu.css": #nav li:hover ul li a:hover{background:#333;#nav ul{ Before start the ID "#nav ul", you should close the elements propierts from "#nav li:hover ul li a:hover" with one "}" after that, I had tried test on my internet explorer and works fine... but anyway, get this example "easy" to integer and may can help you with that issue. http://www.cssnolanche.com.br/lab/menu-dropdown/menu-dropdown.rar from the website: http://www.cssnolanche.com.br/css-dropdown-menu-sem-javascript-ou-hacks/ Link to comment Share on other sites More sharing options...
DarrelMan Posted July 31, 2012 Author Share Posted July 31, 2012 softdoni Thank you for your help and reply. I closed the bracket as you said but I still cannot get it working. I this an IE 9 issue? (that is the only version I have available to test it on) Any help is greatly appreciated. Link to comment Share on other sites More sharing options...
dsonesuk Posted July 31, 2012 Share Posted July 31, 2012 Because without a set <!DOCTYPE> http://w3schools.com/html/html_doctype.asp IE remains in quirks (stupid) mode, it needs !DOCTYPE so it acts the same as other better browsers. Link to comment Share on other sites More sharing options...
DarrelMan Posted July 31, 2012 Author Share Posted July 31, 2012 dsonesuk Thank you! I did exactly that and it works! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now