654 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Provided great contribution to our forums
  • Has been a beta tester for an Envato feature
+4 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
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Won a Most Wanted contest
+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">
3446 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 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
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Won a Most Wanted contest
+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.

654 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Provided great contribution to our forums
  • Has been a beta tester for an Envato feature
+4 more
Gareth_Gillman says

that worked …. duh me :)

thanks guys

by
by
by
by
by
by