1096 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Beta Tester
  • Collector Level 2
+5 more
Gareth_Gillman
says

Anyone able to help, been pulling my hair out for the last hour

Client wants their website to work in IE7 (solicitor so stuck in the dark ages) and I cannot get the drop down to work. I have tried everything I can think of.

Website is http://www.nj67hn8.randall-payne.co.uk/

Works fine in every other browser except IE7

The Stylesheet is http://www.nj67hn8.randall-payne.co.uk/wp-content/themes/rand-payne1/ie.css

954 posts
  • Affiliate Level 1
  • Author Level 3
  • Beta Tester
  • Most Wanted Winner
+3 more
aleluja
says
Try specifying this doctype at the top of the html document: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Try specifying this doctype at the top of the html document: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

Good call. The fact that you haven’t declared a doctype is a significant issue, especially in IE.

954 posts
  • Affiliate Level 1
  • Author Level 3
  • Beta Tester
  • Most Wanted Winner
+3 more
aleluja
says

Yup, and pseudo class :hover can’t be applied on elements that are not anchor in IE7 without a doctype. In this case the :hover is applied to list item (#navigation #nav li:hover ul) – it just ignores it.

1096 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Beta Tester
  • Collector Level 2
+5 more
Gareth_Gillman
says

that worked …. duh me :)

thanks guys

by
by
by
by
by
by