505 posts
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • United Kingdom
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

939 posts
  • Sold between 1 000 and 5 000 dollars
  • Most Wanted Bounty Winner
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Envato Studio (Microlancer) Beta Tester
  • Serbia
  • Exclusive Author
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">
3421 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Community Moderator
  • Bought between 100 and 499 items
  • Referred more than 2000 users
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
sevenspark Volunteer 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.

939 posts
  • Sold between 1 000 and 5 000 dollars
  • Most Wanted Bounty Winner
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Envato Studio (Microlancer) Beta Tester
  • Serbia
  • Exclusive Author
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.

505 posts
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • United Kingdom
Gareth_Gillman says

that worked …. duh me :)

thanks guys

by
by
by
by
by
by