background: url(new_menu2.png) 0 -111px no-repeat;
Page 1 of 1
No website menu in IE 7-8
#1
Posted 06 February 2012 - 12:26 PM
Hi, for some reason my website menu does not seem to be appearing in IE 7 and 8. I have a <ul> menu when each item has a background image, however those images do not seem to be showing in those browser versions.
#4
Posted 06 February 2012 - 03:52 PM
Not worked with CSS for a long while, but would the correct syntax for this not be:
{
background-image: url(new_menu2.png) 0 -111px no-repeat;
}
with 'background-image', instead of 'background'
I hope that helps
{
background-image: url(new_menu2.png) 0 -111px no-repeat;
}
with 'background-image', instead of 'background'
I hope that helps
#5
Posted 06 February 2012 - 04:27 PM
nublue, on 06 February 2012 - 03:52 PM, said:
Not worked with CSS for a long while, but would the correct syntax for this not be:
{
background-image: url(new_menu2.png) 0 -111px no-repeat;
}
with 'background-image', instead of 'background'
I hope that helps
{
background-image: url(new_menu2.png) 0 -111px no-repeat;
}
with 'background-image', instead of 'background'
I hope that helps
Na, that didn't seem to help, for some reason in the IE 7 and 8 there seems to be some jQuery attribute in the <a> element of my menu, jQuery17107365838779562464="1", and was wondering what that was? Is that affecting it, cos in IE 9 my site seems to work fine.
#6
Posted 06 February 2012 - 04:54 PM
RiskyShenanigan, on 06 February 2012 - 04:27 PM, said:
Na, that didn't seem to help, for some reason in the IE 7 and 8 there seems to be some jQuery attribute in the <a> element of my menu, jQuery17107365838779562464="1", and was wondering what that was? Is that affecting it, cos in IE 9 my site seems to work fine.
No idea if that is affecting it, is the short answer? Do you have a jquery effect on the menu? If not then it shouldnt be there. Is this a menu you have made from scratch? Any chance of a link?
#7
Posted 07 February 2012 - 02:11 PM
I found out the problem, it was because I was using a HTML5 element header which the older IE's didnt recognise.
#8
Posted 07 February 2012 - 02:18 PM
http://code.google.com/p/html5shiv/
Try shivving it, should remove any HTML5 element issues back to IE7, at least. (Probably does 6 and earlier, too, but i've never cared or bothered to check.)
Try shivving it, should remove any HTML5 element issues back to IE7, at least. (Probably does 6 and earlier, too, but i've never cared or bothered to check.)
- ← Site background colour is different depending on browser?
- Web Browsers
- IE showing website changes →
Share this topic:
Page 1 of 1
Help
















